Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.035/1.035, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 12 kB / 0.5161 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 83.41 MB / 0.5975 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime): time 0.0009549/0.1727, allocations: 323.5 kB / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.161e-05/0.1728, allocations: 0 / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.1728, allocations: 0 / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1728, allocations: 0 / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-06/0.1729, allocations: 4 kB / 0.5978 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.964e-05/0.1729, allocations: 3.938 kB / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.1729, allocations: 4 kB / 0.5979 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.173, allocations: 0 / 0.5979 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.173, allocations: 0 / 0.5979 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.1731, allocations: 4 kB / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1731, allocations: 0 / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-06/0.1731, allocations: 0 / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.1731, allocations: 0 / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.1731, allocations: 25.7 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.361e-05/0.1732, allocations: 4 kB / 0.5979 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1732, allocations: 4 kB / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.1732, allocations: 0 / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1732, allocations: 0 / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000274/0.1735, allocations: 309.6 kB / 0.5982 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1736, allocations: 8.094 kB / 0.5982 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1736, allocations: 34.56 kB / 0.5982 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.681e-05/0.1736, allocations: 0 / 0.5982 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1737, allocations: 163 kB / 0.5984 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1738, allocations: 0 / 0.5984 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1738, allocations: 4 kB / 0.5984 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1739, allocations: 33.64 kB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1739, allocations: 0 / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1739, allocations: 4 kB / 0.5984 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1739, allocations: 0 / 0.5984 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.174, allocations: 3.984 kB / 0.5984 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1741, allocations: 149.6 kB / 0.5986 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.125e-05/0.1742, allocations: 18.61 kB / 0.5986 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.1742, allocations: 8.859 kB / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1742, allocations: 8.062 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1742, allocations: 34.5 kB / 0.5986 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1742, allocations: 3.938 kB / 0.5986 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1744, allocations: 33.69 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1744, allocations: 51.41 kB / 0.5987 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.1745, allocations: 89.86 kB / 0.5988 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1745, allocations: 33.77 kB / 0.5988 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1745, allocations: 80.14 kB / 0.5989 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1746, allocations: 7.906 kB / 0.5989 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1746, allocations: 0 / 0.5989 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1748, allocations: 322.8 kB / 0.5992 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.1748, allocations: 0 / 0.5992 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-06/0.1748, allocations: 0 / 0.5992 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.1748, allocations: 7.938 kB / 0.5992 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1748, allocations: 4.062 kB / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.399e-05/0.1749, allocations: 33.69 kB / 0.5993 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1749, allocations: 6.344 kB / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1749, allocations: 0 / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1749, allocations: 0 / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.175, allocations: 4 kB / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.175, allocations: 0 / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-06/0.175, allocations: 0 / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.175, allocations: 0 / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.1751, allocations: 121.8 kB / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.1751, allocations: 3.984 kB / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.1751, allocations: 3.125 kB / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1751, allocations: 0 / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1751, allocations: 0 / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-06/0.1751, allocations: 0 / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.1752, allocations: 149.9 kB / 0.5996 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1753, allocations: 0 / 0.5996 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.1753, allocations: 4 kB / 0.5996 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1753, allocations: 3.938 kB / 0.5996 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.1753, allocations: 0 / 0.5996 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1753, allocations: 4 kB / 0.5996 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1753, allocations: 0 / 0.5996 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.1754, allocations: 61.12 kB / 0.5996 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.1754, allocations: 81.06 kB / 0.5997 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.1755, allocations: 3.938 kB / 0.5997 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.1755, allocations: 0 / 0.5997 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.1755, allocations: 0 / 0.5997 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1755, allocations: 8.031 kB / 0.5997 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.1755, allocations: 75.28 kB / 0.5998 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1755, allocations: 0 / 0.5998 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001921/0.1757, allocations: 0 / 0.5998 GB, free: 5.039 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003894/0.1761, allocations: 0.5967 MB / 0.6004 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.1762, allocations: 11.97 kB / 0.6004 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1762, allocations: 0 / 0.6004 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.1762, allocations: 0 / 0.6004 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1764, allocations: 8 kB / 0.6004 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.1767, allocations: 100.3 kB / 0.6005 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1769, allocations: 0.6692 MB / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.125e-05/0.1769, allocations: 0 / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.177, allocations: 11.56 kB / 0.6011 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.177, allocations: 4 kB / 0.6011 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.1872, allocations: 0.7115 MB / 0.6018 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.1874, allocations: 184 kB / 0.602 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.817, allocations: 0 / 0.602 GB, free: 2.719 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: