Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001348/0.001348, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001772/0.001772, allocations: 217.7 kB / 22.25 MB, free: 3.699 MB / 13.93 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8212/0.8212, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009465/0.0009465, allocations: 62.47 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5585, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00451/0.563, allocations: 3.832 MB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.5632, allocations: 161.3 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.5632, allocations: 7.812 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.5634, allocations: 0.9375 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.5635, allocations: 11.34 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.5639, allocations: 92.19 kB / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.564, allocations: 38.75 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.564, allocations: 0.5625 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.5641, allocations: 15.7 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.5642, allocations: 17.2 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5642, allocations: 3.656 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.5649, allocations: 237.6 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.5649, allocations: 12.89 kB / 0.8222 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.565, allocations: 5.844 kB / 0.8222 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.5652, allocations: 67.44 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5652, allocations: 0 / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5652, allocations: 0.6562 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5652, allocations: 0 / 0.8222 GB, free: 14.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003632/0.5656, allocations: 259 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5656, allocations: 10.25 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5656, allocations: 36.64 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.5657, allocations: 2.375 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5658, allocations: 108.8 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.5659, allocations: 55.11 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5659, allocations: 4.125 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.566, allocations: 44.67 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.566, allocations: 4 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.566, allocations: 0.7031 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.566, allocations: 3.406 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.5661, allocations: 10.84 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.5665, allocations: 230.7 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.5666, allocations: 24.52 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.5666, allocations: 6.047 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.5666, allocations: 17.33 kB / 0.823 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5666, allocations: 31.69 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.5666, allocations: 0 / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.5668, allocations: 36.36 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.5668, allocations: 55.34 kB / 0.8231 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.5669, allocations: 109.5 kB / 0.8232 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5669, allocations: 25.7 kB / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.5669, allocations: 103.4 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-06/0.5669, allocations: 0 / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.567, allocations: 16.95 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.5671, allocations: 322.4 kB / 0.8237 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.5671, allocations: 3.5 kB / 0.8237 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.5671, allocations: 13.22 kB / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.5671, allocations: 30.98 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5671, allocations: 0 / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.163e-05/0.5672, allocations: 44.56 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5672, allocations: 9.469 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5672, allocations: 0 / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5672, allocations: 0.8906 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.5673, allocations: 6 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5673, allocations: 3.938 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.5673, allocations: 1.828 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5673, allocations: 5.656 kB / 0.8238 GB, free: 12.59 MB / 0.6198 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 6.966e-05/0.5674, allocations: 113.9 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.5674, allocations: 0 / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.5675, allocations: 130.1 kB / 0.824 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/0.5676, allocations: 181.1 kB / 0.8242 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.444e-05/0.5677, allocations: 180.3 kB / 0.8244 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.5677, allocations: 177 kB / 0.8245 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.5679, allocations: 385.9 kB / 0.8249 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/0.5679, allocations: 101.6 kB / 0.825 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.568, allocations: 105.6 kB / 0.8251 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.965e-05/0.568, allocations: 179.9 kB / 0.8253 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.5681, allocations: 188.9 kB / 0.8255 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.089e-05/0.5682, allocations: 185 kB / 0.8256 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.507e-05/0.5682, allocations: 180.6 kB / 0.8258 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.5684, allocations: 307.6 kB / 0.8261 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.5684, allocations: 117 kB / 0.8262 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.5685, allocations: 177.6 kB / 0.8264 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5686, allocations: 106.3 kB / 0.8265 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.5687, allocations: 181 kB / 0.8267 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.5687, allocations: 103.5 kB / 0.8267 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.5687, allocations: 85.44 kB / 0.8268 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5687, allocations: 10.25 kB / 0.8268 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001916/0.5689, allocations: 19 kB / 0.8269 GB, free: 9.32 MB / 0.6198 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.0004542/0.5694, allocations: 0.8256 MB / 0.8277 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.5695, allocations: 7.891 kB / 0.8277 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5695, allocations: 4.125 kB / 0.8277 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.5695, allocations: 0 / 0.8277 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.5699, allocations: 464.8 kB / 0.8281 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.5708, allocations: 1.321 MB / 0.8294 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.571, allocations: 0.6745 MB / 0.8301 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.5711, allocations: 7.172 kB / 0.8301 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.5711, allocations: 10.73 kB / 0.8301 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5711, allocations: 0 / 0.8301 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.5899, allocations: 1.602 MB / 0.8316 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.406, allocations: 9.375 kB / 0.8317 GB, free: 5.562 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.437507002148777] Failed to read output from testmodel.py, exit status != 0: 7.486223584040999 7.504319158 6.934794759 Calling exit ...