Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001374/0.001374, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.001325/0.001325, allocations: 195.7 kB / 20.08 MB, free: 3.008 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.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9328/0.9328, allocations: 129.2 MB / 432.5 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 0.5987 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4424, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005529/0.4479, allocations: 3.75 MB / 0.6838 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.4481, allocations: 157.7 kB / 0.684 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.4481, allocations: 1.281 kB / 0.684 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4482, allocations: 3.938 kB / 0.684 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.4483, allocations: 14.72 kB / 0.684 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.4487, allocations: 86.06 kB / 0.6841 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.4488, allocations: 41.25 kB / 0.6841 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.4488, allocations: 2.344 kB / 0.6841 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.4488, allocations: 16.67 kB / 0.6841 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.4489, allocations: 10.8 kB / 0.6841 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4489, allocations: 0.9375 kB / 0.6841 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005446/0.4495, allocations: 190.4 kB / 0.6843 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.4495, allocations: 6.391 kB / 0.6843 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.4496, allocations: 13.48 kB / 0.6843 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.4497, allocations: 45.36 kB / 0.6844 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4497, allocations: 4 kB / 0.6844 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4497, allocations: 0 / 0.6844 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4497, allocations: 1.406 kB / 0.6844 GB, free: 2.617 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003837/0.4501, allocations: 339 kB / 0.6847 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4501, allocations: 10.53 kB / 0.6847 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.4502, allocations: 30.75 kB / 0.6847 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.4502, allocations: 2.094 kB / 0.6847 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.4503, allocations: 161.5 kB / 0.6849 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.4504, allocations: 40.59 kB / 0.6849 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4504, allocations: 5.438 kB / 0.6849 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4505, allocations: 38.59 kB / 0.685 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4505, allocations: 0 / 0.685 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4505, allocations: 0 / 0.685 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4505, allocations: 1.188 kB / 0.685 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.4506, allocations: 21.98 kB / 0.685 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.4509, allocations: 332.7 kB / 0.6853 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.451, allocations: 21.3 kB / 0.6853 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.451, allocations: 4.859 kB / 0.6853 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.4511, allocations: 83.3 kB / 0.6854 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4511, allocations: 31.88 kB / 0.6855 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4511, allocations: 0 / 0.6855 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.4512, allocations: 46.91 kB / 0.6855 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.4512, allocations: 56.66 kB / 0.6856 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.4513, allocations: 108.5 kB / 0.6857 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.4513, allocations: 25.7 kB / 0.6857 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.4513, allocations: 89.47 kB / 0.6858 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.4513, allocations: 0 / 0.6858 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.4514, allocations: 18.25 kB / 0.6858 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.4514, allocations: 318.8 kB / 0.6861 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.4514, allocations: 3.406 kB / 0.6861 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.4514, allocations: 17.66 kB / 0.6861 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.4515, allocations: 23.91 kB / 0.6861 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4515, allocations: 0 / 0.6861 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.362e-05/0.4515, allocations: 50.72 kB / 0.6862 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4515, allocations: 5.656 kB / 0.6862 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4515, allocations: 0 / 0.6862 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4516, allocations: 5.281 kB / 0.6862 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/0.4516, allocations: 13.12 kB / 0.6862 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4516, allocations: 1.469 kB / 0.6862 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.4516, allocations: 7.891 kB / 0.6862 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4516, allocations: 2.562 kB / 0.6862 GB, free: 0.5859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.456e-05/0.4517, allocations: 115.1 kB / 0.6863 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4517, allocations: 5.406 kB / 0.6863 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.4518, allocations: 120.6 kB / 0.6864 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.4518, allocations: 185.7 kB / 0.6866 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.596e-05/0.4519, allocations: 176.3 kB / 0.6868 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.953e-05/0.4519, allocations: 185.5 kB / 0.687 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4522, allocations: 408.6 kB / 0.6874 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.4523, allocations: 106.1 kB / 0.6875 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.4523, allocations: 109 kB / 0.6876 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.913e-05/0.4524, allocations: 181.4 kB / 0.6877 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.4525, allocations: 181.3 kB / 0.6879 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.031e-05/0.4526, allocations: 177.4 kB / 0.6881 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-05/0.4526, allocations: 181.3 kB / 0.6883 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4528, allocations: 311.9 kB / 0.6885 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.4529, allocations: 183 kB / 0.6887 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.453, allocations: 178.3 kB / 0.6889 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4532, allocations: 111.1 kB / 0.689 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.4532, allocations: 178 kB / 0.6892 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.4533, allocations: 110.1 kB / 0.6893 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.4533, allocations: 87.67 kB / 0.6894 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4533, allocations: 0 / 0.6894 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002675/0.4536, allocations: 20.62 kB / 0.6894 GB, free: 13.18 MB / 0.5137 GB 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 (0): * Single equations (assignments): 0 * 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.0006321/0.4542, allocations: 0.8378 MB / 0.6902 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.4543, allocations: 17.81 kB / 0.6902 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4543, allocations: 0 / 0.6902 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.4543, allocations: 1.438 kB / 0.6902 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4548, allocations: 463.7 kB / 0.6907 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4559, allocations: 1.312 MB / 0.6919 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4563, allocations: 0.6805 MB / 0.6926 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.4563, allocations: 7.531 kB / 0.6926 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.4563, allocations: 14.12 kB / 0.6926 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4563, allocations: 0 / 0.6926 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4802, allocations: 1.534 MB / 0.6941 GB, free: 9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.536, allocations: 18.52 kB / 0.6941 GB, free: 8.992 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.095387269277126] Failed to read output from testmodel.py, exit status != 0: 8.605260103009641 8.627740545 8.174431473 Calling exit ...