Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002925/0.002925, allocations: 285.7 kB / 303 MB, free: 3.566 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 180.9 MB / 0.5262 GB, free: 3.145 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 107.8 kB / 0.7247 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6448, allocations: 94.15 MB / 0.8167 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2032/0.848, allocations: 148.7 MB / 0.9619 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.000204/0.8482, allocations: 55.78 kB / 0.962 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.8483, allocations: 0 / 0.962 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.8484, allocations: 4 kB / 0.962 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.8485, allocations: 15.91 kB / 0.962 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.8494, allocations: 219.2 kB / 0.9622 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.8495, allocations: 35.84 kB / 0.9622 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.8496, allocations: 3.984 kB / 0.9622 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.8496, allocations: 16 kB / 0.9623 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.8497, allocations: 15.91 kB / 0.9623 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.8497, allocations: 0 / 0.9623 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.8502, allocations: 211.4 kB / 0.9625 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.8503, allocations: 3.984 kB / 0.9625 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.8503, allocations: 19.94 kB / 0.9625 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.8507, allocations: 118.3 kB / 0.9626 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8507, allocations: 0 / 0.9626 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8507, allocations: 0 / 0.9626 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8507, allocations: 0 / 0.9626 GB, free: 11.29 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000532/0.8512, allocations: 347.3 kB / 0.9629 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8512, allocations: 8.031 kB / 0.9629 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.8513, allocations: 34.75 kB / 0.963 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.8517, allocations: 24.91 kB / 0.963 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.8518, allocations: 168.1 kB / 0.9632 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.8519, allocations: 25.7 kB / 0.9632 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8519, allocations: 4 kB / 0.9632 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.8521, allocations: 49.61 kB / 0.9632 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8521, allocations: 3.938 kB / 0.9632 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.8521, allocations: 11.98 kB / 0.9633 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.8521, allocations: 0 / 0.9633 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.8522, allocations: 19.98 kB / 0.9633 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.8526, allocations: 264.8 kB / 0.9635 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.021e-05/0.8526, allocations: 22.61 kB / 0.9635 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.8527, allocations: 8.922 kB / 0.9636 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.8528, allocations: 93.09 kB / 0.9636 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.8529, allocations: 42.5 kB / 0.9637 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8529, allocations: 0 / 0.9637 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002567/0.8531, allocations: 45.69 kB / 0.9637 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.8532, allocations: 55.34 kB / 0.9638 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.8533, allocations: 105.8 kB / 0.9639 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.8533, allocations: 25.7 kB / 0.9639 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.8533, allocations: 88.22 kB / 0.964 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.8534, allocations: 7.953 kB / 0.964 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.8534, allocations: 17.72 kB / 0.964 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8535, allocations: 314.8 kB / 0.9643 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.8536, allocations: 4 kB / 0.9643 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.8536, allocations: 34.64 kB / 0.9644 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.8536, allocations: 34.56 kB / 0.9644 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8536, allocations: 0 / 0.9644 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.828e-05/0.8537, allocations: 49.73 kB / 0.9644 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8538, allocations: 8 kB / 0.9644 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.8538, allocations: 11.97 kB / 0.9645 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.8538, allocations: 0 / 0.9645 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.8538, allocations: 7.938 kB / 0.9645 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8539, allocations: 12.03 kB / 0.9645 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.8539, allocations: 0 / 0.9645 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.8539, allocations: 4 kB / 0.9645 GB, free: 9.102 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/0.854, allocations: 109.8 kB / 0.9646 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.854, allocations: 7.953 kB / 0.9646 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.854, allocations: 3.125 kB / 0.9646 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.854, allocations: 0 / 0.9646 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.854, allocations: 7.922 kB / 0.9646 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.854, allocations: 0 / 0.9646 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.8544, allocations: 363.5 kB / 0.9649 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8544, allocations: 4 kB / 0.9649 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.8544, allocations: 7.922 kB / 0.965 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8544, allocations: 4 kB / 0.965 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.8544, allocations: 0 / 0.965 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8544, allocations: 0 / 0.965 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8544, allocations: 3.938 kB / 0.965 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.8545, allocations: 74 kB / 0.965 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.8546, allocations: 88.98 kB / 0.9651 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8546, allocations: 4 kB / 0.9651 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.8547, allocations: 4 kB / 0.9651 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.8547, allocations: 0 / 0.9651 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8547, allocations: 4 kB / 0.9651 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.8547, allocations: 87.3 kB / 0.9652 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8547, allocations: 0 / 0.9652 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001922/0.8549, allocations: 4 kB / 0.9652 GB, free: 8.23 MB / 0.7012 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004376/0.8554, allocations: 0.6133 MB / 0.9658 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.8555, allocations: 16 kB / 0.9658 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8555, allocations: 0 / 0.9658 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.8555, allocations: 11.88 kB / 0.9658 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.8558, allocations: 7.984 kB / 0.9658 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.8562, allocations: 149.9 kB / 0.966 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.8566, allocations: 0.6768 MB / 0.9667 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.963e-05/0.8566, allocations: 4 kB / 0.9667 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.8567, allocations: 11.44 kB / 0.9667 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.8567, allocations: 0 / 0.9667 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.8814, allocations: 1.49 MB / 0.9681 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.695, allocations: 8.406 kB / 0.9681 GB, free: 5.273 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.652130728587508] Failed to read output from testmodel.py, exit status != 0: 8.766373946797103 8.785098276 7.931231544 Calling exit ...