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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007772/0.0007772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008261/0.0008261, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8594/0.8594, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001409/0.001409, allocations: 231 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6428/0.6428, allocations: 138.4 MB / 454.3 MB, free: 1.629 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.834e-06/1.834e-06, allocations: 0 / 0.6463 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.126e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1083/0.1083, allocations: 130.4 MB / 0.7736 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.1084, allocations: 51.8 kB / 0.7736 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.1085, allocations: 0 / 0.7736 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1086, allocations: 3.938 kB / 0.7736 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.1087, allocations: 23.84 kB / 0.7737 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.1094, allocations: 208.8 kB / 0.7739 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.1095, allocations: 35.84 kB / 0.7739 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1095, allocations: 7.984 kB / 0.7739 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.1096, allocations: 15.97 kB / 0.7739 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1097, allocations: 15.94 kB / 0.7739 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1097, allocations: 0 / 0.7739 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.11, allocations: 171.3 kB / 0.7741 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.1101, allocations: 7.984 kB / 0.7741 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1101, allocations: 11.94 kB / 0.7741 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1103, allocations: 107.8 kB / 0.7742 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1104, allocations: 4 kB / 0.7742 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1104, allocations: 0 / 0.7742 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1104, allocations: 0 / 0.7742 GB, free: 14.17 MB / 0.6198 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.0004016/0.1108, allocations: 270.2 kB / 0.7745 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1108, allocations: 16.69 kB / 0.7745 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1108, allocations: 30.75 kB / 0.7745 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.1111, allocations: 28.86 kB / 0.7746 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.1112, allocations: 101.8 kB / 0.7747 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.1113, allocations: 55.97 kB / 0.7747 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1113, allocations: 3.938 kB / 0.7747 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1114, allocations: 75.38 kB / 0.7748 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1114, allocations: 3.984 kB / 0.7748 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1114, allocations: 7.938 kB / 0.7748 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.1114, allocations: 8 kB / 0.7748 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.1115, allocations: 15.98 kB / 0.7748 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.1118, allocations: 235.9 kB / 0.775 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.1118, allocations: 26.58 kB / 0.7751 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.1118, allocations: 4.859 kB / 0.7751 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1119, allocations: 20.05 kB / 0.7751 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.112, allocations: 34.56 kB / 0.7751 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.112, allocations: 0 / 0.7751 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.1122, allocations: 53.62 kB / 0.7752 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1122, allocations: 51.41 kB / 0.7752 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.1123, allocations: 109.8 kB / 0.7753 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1123, allocations: 25.7 kB / 0.7754 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.1123, allocations: 84.12 kB / 0.7754 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.1123, allocations: 3.953 kB / 0.7754 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.1123, allocations: 25.66 kB / 0.7755 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.1124, allocations: 318.9 kB / 0.7758 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.1124, allocations: 8 kB / 0.7758 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.1125, allocations: 22.58 kB / 0.7758 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1125, allocations: 34.5 kB / 0.7758 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1125, allocations: 0 / 0.7758 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.443e-05/0.1126, allocations: 53.62 kB / 0.7759 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1126, allocations: 8 kB / 0.7759 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1126, allocations: 4.094 kB / 0.7759 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1126, allocations: 3.938 kB / 0.7759 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.1126, allocations: 8 kB / 0.7759 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1126, allocations: 0 / 0.7759 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1127, allocations: 4 kB / 0.7759 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1127, allocations: 7.938 kB / 0.7759 GB, free: 12.21 MB / 0.6198 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 7.139e-05/0.1127, allocations: 118.4 kB / 0.776 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1128, allocations: 7.984 kB / 0.776 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.1128, allocations: 3.312 kB / 0.776 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1128, allocations: 0 / 0.776 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1128, allocations: 0 / 0.776 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1128, allocations: 4 kB / 0.776 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.113, allocations: 338.6 kB / 0.7764 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.113, allocations: 0 / 0.7764 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.113, allocations: 4 kB / 0.7764 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.113, allocations: 3.984 kB / 0.7764 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.113, allocations: 0 / 0.7764 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.113, allocations: 7.938 kB / 0.7764 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.113, allocations: 0 / 0.7764 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.313e-05/0.1131, allocations: 69.94 kB / 0.7764 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.1131, allocations: 4.094 kB / 0.7765 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1131, allocations: 3.984 kB / 0.7765 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.1132, allocations: 7.938 kB / 0.7765 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.1132, allocations: 4.219 kB / 0.7765 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1132, allocations: 4 kB / 0.7765 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.1132, allocations: 91.25 kB / 0.7766 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1132, allocations: 0 / 0.7766 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001297/0.1133, allocations: 4 kB / 0.7766 GB, free: 11.46 MB / 0.6198 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.0002773/0.1136, allocations: 0.6017 MB / 0.7772 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.1137, allocations: 23.88 kB / 0.7772 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1137, allocations: 0 / 0.7772 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-06/0.1137, allocations: 4 kB / 0.7772 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1139, allocations: 6.922 kB / 0.7772 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.1143, allocations: 152.5 kB / 0.7773 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.1143, allocations: 67.34 kB / 0.7774 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.1143, allocations: 7.938 kB / 0.7774 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.1144, allocations: 8.5 kB / 0.7774 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.1144, allocations: 0 / 0.7774 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1285, allocations: 2.134 MB / 0.7795 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.347/6.475, allocations: 15.53 kB / 0.7795 GB, free: 8.492 MB / 0.6198 GB " [Timeout remaining time 653] (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: 9.146153215318918] Failed to read output from testmodel.py, exit status != 0: 6.55308195296675 6.562963106 6.450563498 Calling exit ...