Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5064/0.5064, allocations: 90.91 MB / 99.34 MB, free: 2.129 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008646, allocations: 91.12 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.816e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1591, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5174/0.6765, allocations: 100.1 MB / 0.6513 GB, free: 9.949 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.6768, allocations: 68.58 kB / 0.6514 GB, free: 9.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0004589/0.6772, allocations: 374.7 kB / 0.6517 GB, free: 9.551 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6773, allocations: 1.875 kB / 0.6517 GB, free: 9.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.6773, allocations: 0 / 0.6517 GB, free: 9.551 MB / 458.7 MB 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.000246/0.6775, allocations: 310.1 kB / 0.652 GB, free: 9.207 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6776, allocations: 8.094 kB / 0.6521 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.6776, allocations: 9.078 kB / 0.6521 GB, free: 9.191 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6777, allocations: 162.5 kB / 0.6522 GB, free: 8.996 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6778, allocations: 1 kB / 0.6522 GB, free: 8.996 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.6778, allocations: 4 kB / 0.6522 GB, free: 8.992 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.012e-05/0.6778, allocations: 0 / 0.6522 GB, free: 8.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.937e-05/0.6779, allocations: 33.64 kB / 0.6523 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.6779, allocations: 0 / 0.6523 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.6779, allocations: 0 / 0.6523 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6779, allocations: 3.953 kB / 0.6523 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.6781, allocations: 126.9 kB / 0.6524 GB, free: 8.789 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.6781, allocations: 14.58 kB / 0.6524 GB, free: 8.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.6782, allocations: 12.95 kB / 0.6524 GB, free: 8.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.6782, allocations: 3.812 kB / 0.6524 GB, free: 8.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6782, allocations: 30.56 kB / 0.6524 GB, free: 8.711 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.6782, allocations: 0 / 0.6524 GB, free: 8.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.6784, allocations: 33.64 kB / 0.6525 GB, free: 8.672 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6784, allocations: 54.14 kB / 0.6525 GB, free: 8.609 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.6785, allocations: 85 kB / 0.6526 GB, free: 8.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6785, allocations: 29.73 kB / 0.6526 GB, free: 8.484 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.6785, allocations: 84.14 kB / 0.6527 GB, free: 8.398 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.6786, allocations: 3.906 kB / 0.6527 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.6786, allocations: 0 / 0.6527 GB, free: 8.395 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6787, allocations: 314.8 kB / 0.653 GB, free: 8.078 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.6787, allocations: 0 / 0.653 GB, free: 8.078 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/0.6787, allocations: 3.625 kB / 0.653 GB, free: 8.078 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.6788, allocations: 7.984 kB / 0.653 GB, free: 8.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6788, allocations: 4.062 kB / 0.653 GB, free: 8.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.777e-05/0.6788, allocations: 32.89 kB / 0.6531 GB, free: 8.031 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6789, allocations: 4 kB / 0.6531 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6789, allocations: 0 / 0.6531 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6789, allocations: 0 / 0.6531 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.679, allocations: 4.844 kB / 0.6531 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.679, allocations: 3.938 kB / 0.6531 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.679, allocations: 2.391 kB / 0.6531 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.679, allocations: 0 / 0.6531 GB, free: 8.02 MB / 458.7 MB 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 () * 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.257e-05/0.6791, allocations: 109 kB / 0.6532 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 3.879e-05/0.6791, allocations: 37.69 kB / 0.6532 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-06/0.6791, allocations: 0 / 0.6532 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.6792, allocations: 3.75 kB / 0.6532 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.6792, allocations: 0 / 0.6532 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.6792, allocations: 3.938 kB / 0.6532 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6792, allocations: 3.938 kB / 0.6532 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.18e-05/0.6793, allocations: 126.2 kB / 0.6533 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.6793, allocations: 4 kB / 0.6534 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.6793, allocations: 3.984 kB / 0.6534 GB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.6793, allocations: 4.031 kB / 0.6534 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.6793, allocations: 0 / 0.6534 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.6793, allocations: 0 / 0.6534 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6793, allocations: 3.984 kB / 0.6534 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.6794, allocations: 64.47 kB / 0.6534 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.6795, allocations: 77.11 kB / 0.6535 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.6795, allocations: 3.984 kB / 0.6535 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.6795, allocations: 0 / 0.6535 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.6795, allocations: 4.031 kB / 0.6535 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.6795, allocations: 3 kB / 0.6535 GB, free: 7.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.6796, allocations: 79.28 kB / 0.6536 GB, free: 7.422 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6796, allocations: 0 / 0.6536 GB, free: 7.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000212/0.6798, allocations: 0 / 0.6536 GB, free: 7.422 MB / 458.7 MB 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 () * 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.0003266/0.6801, allocations: 0.5845 MB / 0.6542 GB, free: 6.809 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.096e-05/0.6802, allocations: 15.73 kB / 0.6542 GB, free: 6.797 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6802, allocations: 0 / 0.6542 GB, free: 6.797 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.6802, allocations: 4 kB / 0.6542 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.6803, allocations: 0 / 0.6542 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.6806, allocations: 65.73 kB / 0.6542 GB, free: 6.691 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.6808, allocations: 0.6768 MB / 0.6549 GB, free: 5.988 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.263e-05/0.6808, allocations: 128 / 0.6549 GB, free: 5.988 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.6809, allocations: 11.44 kB / 0.6549 GB, free: 5.977 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6809, allocations: 0 / 0.6549 GB, free: 5.977 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.699, allocations: 408 kB / 0.6553 GB, free: 5.586 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.6992, allocations: 132.1 kB / 0.6554 GB, free: 5.387 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.369/2.068, allocations: 4 kB / 0.6554 GB, free: 5.383 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)