Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001105/0.001105, allocations: 177 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4865/0.4865, allocations: 90.92 MB / 99.35 MB, free: 2.203 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.488/1.488, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.001091/0.00109, allocations: 99.02 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.116e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6586, allocations: 103.3 MB / 0.6545 GB, free: 6.762 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.6589, allocations: 82.62 kB / 0.6545 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02226/0.6811, allocations: 7.613 MB / 0.662 GB, free: 344 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6812, allocations: 0 / 0.662 GB, free: 344 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.6812, allocations: 8.75 kB / 0.662 GB, free: 336 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000969/0.6822, allocations: 0.5552 MB / 0.6625 GB, free: 15.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6823, allocations: 12.03 kB / 0.6625 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.6825, allocations: 43.56 kB / 0.6626 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.683, allocations: 287.8 kB / 0.6628 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.683, allocations: 4 kB / 0.6628 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.683, allocations: 19.88 kB / 0.6629 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001956/0.6832, allocations: 90.67 kB / 0.663 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.6835, allocations: 162.8 kB / 0.6631 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6835, allocations: 3.938 kB / 0.6631 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.6835, allocations: 4 kB / 0.6631 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6835, allocations: 7.953 kB / 0.6631 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.6847, allocations: 0.9177 MB / 0.664 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.6852, allocations: 190.8 kB / 0.6642 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.6853, allocations: 55.28 kB / 0.6643 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.6854, allocations: 0 / 0.6643 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6854, allocations: 34.56 kB / 0.6643 GB, free: 13.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.6854, allocations: 7.938 kB / 0.6643 GB, free: 13.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.000416/0.6858, allocations: 146 kB / 0.6644 GB, free: 13.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.6859, allocations: 81.11 kB / 0.6645 GB, free: 13.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.6861, allocations: 215.1 kB / 0.6647 GB, free: 13.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6861, allocations: 25.7 kB / 0.6647 GB, free: 13.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6863, allocations: 162.5 kB / 0.6649 GB, free: 13.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.6863, allocations: 53.95 kB / 0.6649 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.6863, allocations: 0 / 0.6649 GB, free: 13.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6865, allocations: 342.3 kB / 0.6653 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.6866, allocations: 41.36 kB / 0.6653 GB, free: 13.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.6867, allocations: 91 kB / 0.6654 GB, free: 12.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.6868, allocations: 46.61 kB / 0.6654 GB, free: 12.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6868, allocations: 4 kB / 0.6654 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003591/0.6872, allocations: 174.9 kB / 0.6656 GB, free: 12.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6872, allocations: 8 kB / 0.6656 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6872, allocations: 3.938 kB / 0.6656 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6872, allocations: 4 kB / 0.6656 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.6876, allocations: 72.09 kB / 0.6657 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6876, allocations: 4 kB / 0.6657 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.6878, allocations: 46.81 kB / 0.6657 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.6878, allocations: 11.94 kB / 0.6658 GB, free: 12.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001061/0.688, allocations: 105 kB / 0.6659 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003409/0.6883, allocations: 157.3 kB / 0.666 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.6884, allocations: 27.7 kB / 0.666 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.6888, allocations: 175 kB / 0.6662 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6888, allocations: 11.94 kB / 0.6662 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6888, allocations: 0 / 0.6662 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6888, allocations: 3.984 kB / 0.6662 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.6892, allocations: 264.2 kB / 0.6665 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6892, allocations: 0 / 0.6665 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.6895, allocations: 62.7 kB / 0.6665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6895, allocations: 8 kB / 0.6665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6895, allocations: 0 / 0.6665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6895, allocations: 0 / 0.6665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6895, allocations: 7.922 kB / 0.6665 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.69, allocations: 341.4 kB / 0.6669 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.69, allocations: 107.8 kB / 0.667 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.6901, allocations: 4 kB / 0.667 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.6904, allocations: 35.95 kB / 0.667 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.6904, allocations: 18.84 kB / 0.667 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.6905, allocations: 4 kB / 0.667 GB, free: 11.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.6906, allocations: 167.9 kB / 0.6672 GB, free: 11.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6906, allocations: 4 kB / 0.6672 GB, free: 11.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.691, allocations: 56.19 kB / 0.6672 GB, free: 11.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0007681/0.6917, allocations: 0.9566 MB / 0.6682 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.692, allocations: 127.4 kB / 0.6683 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.692, allocations: 0 / 0.6683 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6921, allocations: 71.25 kB / 0.6684 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.6926, allocations: 67.06 kB / 0.6684 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.6934, allocations: 333.5 kB / 0.6688 GB, free: 9.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.6938, allocations: 0.76 MB / 0.6695 GB, free: 8.883 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.694, allocations: 26.06 kB / 0.6695 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.6941, allocations: 86.22 kB / 0.6696 GB, free: 8.824 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6941, allocations: 7.938 kB / 0.6696 GB, free: 8.816 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.7198, allocations: 5.248 MB / 0.6747 GB, free: 3.652 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.7201, allocations: 145 kB / 0.6749 GB, free: 3.461 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.669, allocations: 2.25 kB / 0.6749 GB, free: 3.461 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)