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.001579/0.001579, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5151/0.5151, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 223.2 MB / 354.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001113, allocations: 91.22 kB / 427.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 0.4983 GB, free: 42.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 72.31 MB / 0.5689 GB, free: 1.641 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5934/0.7752, allocations: 100.8 MB / 0.6673 GB, free: 3.629 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.7757, allocations: 67.97 kB / 0.6674 GB, free: 3.562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007759/0.7765, allocations: 376.4 kB / 0.6678 GB, free: 3.195 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.7765, allocations: 0 / 0.6678 GB, free: 3.195 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.7766, allocations: 0 / 0.6678 GB, free: 3.195 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.0003671/0.7769, allocations: 319 kB / 0.6681 GB, free: 2.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.777, allocations: 10.77 kB / 0.6681 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.7771, allocations: 34.55 kB / 0.6681 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.7771, allocations: 7.953 kB / 0.6681 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.7773, allocations: 159.1 kB / 0.6683 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.7773, allocations: 0.875 kB / 0.6683 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.7773, allocations: 4 kB / 0.6683 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.7774, allocations: 25.7 kB / 0.6683 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7774, allocations: 0 / 0.6683 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7775, allocations: 0 / 0.6683 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7775, allocations: 4 kB / 0.6683 GB, free: 2.547 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.7775, allocations: 7.953 kB / 0.6683 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.7777, allocations: 150.2 kB / 0.6685 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.7778, allocations: 18.58 kB / 0.6685 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.7778, allocations: 0 / 0.6685 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7778, allocations: 34.66 kB / 0.6685 GB, free: 2.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 3.927e-06/0.7778, allocations: 4 kB / 0.6685 GB, free: 2.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.778, allocations: 33.64 kB / 0.6685 GB, free: 2.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.7781, allocations: 55.34 kB / 0.6686 GB, free: 2.164 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.7781, allocations: 85 kB / 0.6687 GB, free: 2.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.7782, allocations: 25.7 kB / 0.6687 GB, free: 2.043 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.7782, allocations: 80.14 kB / 0.6688 GB, free: 1.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.7783, allocations: 7.906 kB / 0.6688 GB, free: 1.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.7783, allocations: 0 / 0.6688 GB, free: 1.953 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7784, allocations: 322.9 kB / 0.6691 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.7784, allocations: 4 kB / 0.6691 GB, free: 1.625 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.7785, allocations: 1.75 kB / 0.6691 GB, free: 1.625 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.7785, allocations: 4 kB / 0.6691 GB, free: 1.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7785, allocations: 0 / 0.6691 GB, free: 1.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.536e-05/0.7786, allocations: 29.7 kB / 0.6691 GB, free: 1.586 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7786, allocations: 4 kB / 0.6691 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7786, allocations: 2.812 kB / 0.6691 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7787, allocations: 3.984 kB / 0.6691 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.7787, allocations: 8.031 kB / 0.6691 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.7788, allocations: 4 kB / 0.6691 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.7788, allocations: 2.391 kB / 0.6692 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.7788, allocations: 0 / 0.6692 GB, free: 1.566 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 () * 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 0.0001024/0.7789, allocations: 117.8 kB / 0.6693 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.7789, allocations: 4 kB / 0.6693 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.7789, allocations: 3.125 kB / 0.6693 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7789, allocations: 0 / 0.6693 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.779, allocations: 0 / 0.6693 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.779, allocations: 3.938 kB / 0.6693 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.7791, allocations: 149.6 kB / 0.6694 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7791, allocations: 3.984 kB / 0.6694 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.7791, allocations: 4 kB / 0.6694 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7791, allocations: 0 / 0.6694 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.7792, allocations: 0 / 0.6694 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7792, allocations: 0 / 0.6694 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7792, allocations: 0 / 0.6694 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.406e-05/0.7793, allocations: 65.09 kB / 0.6695 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.7793, allocations: 81.05 kB / 0.6696 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7794, allocations: 3.984 kB / 0.6696 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-06/0.7794, allocations: 0 / 0.6696 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.7794, allocations: 4 kB / 0.6696 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.7794, allocations: 0 / 0.6696 GB, free: 1.043 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.7794, allocations: 75.28 kB / 0.6696 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7794, allocations: 4 kB / 0.6696 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.7796, allocations: 0 / 0.6696 GB, free: 0.9648 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 () * 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.0003968/0.78, allocations: 0.5929 MB / 0.6702 GB, free: 352 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.249e-05/0.7801, allocations: 11.94 kB / 0.6702 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7801, allocations: 0 / 0.6702 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.7802, allocations: 4 kB / 0.6702 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.7803, allocations: 160 / 0.6702 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.7806, allocations: 100.9 kB / 0.6703 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.7809, allocations: 0.6731 MB / 0.671 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.781, allocations: 0 / 0.671 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.781, allocations: 7.438 kB / 0.671 GB, free: 15.48 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.781, allocations: 3.938 kB / 0.671 GB, free: 15.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.7926, allocations: 0.6777 MB / 0.6717 GB, free: 14.91 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.7929, allocations: 164.5 kB / 0.6718 GB, free: 14.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.35, allocations: 4 kB / 0.6718 GB, free: 14.66 MB / 474.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)