Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01053/0.01053, allocations: 99.64 kB / 15.73 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002372/0.002371, allocations: 190.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.363/2.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.39/1.39, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2857, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 1.127/1.413, allocations: 176 MB / 0.831 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02088/1.434, allocations: 8.711 MB / 0.8395 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/1.436, allocations: 24.7 kB / 0.8396 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/1.438, allocations: 299.1 kB / 0.8398 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/1.44, allocations: 306.4 kB / 0.8401 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/1.442, allocations: 373.6 kB / 0.8405 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002765/1.445, allocations: 1.154 MB / 0.8416 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/1.448, allocations: 0.5878 MB / 0.8422 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/1.459, allocations: 2.066 MB / 0.8442 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/1.46, allocations: 355.4 kB / 0.8446 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/1.46, allocations: 39.22 kB / 0.8446 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/1.461, allocations: 82.84 kB / 0.8447 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008167/1.462, allocations: 257.3 kB / 0.8449 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/1.463, allocations: 283.4 kB / 0.8452 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/1.465, allocations: 0.644 MB / 0.8458 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/1.465, allocations: 2.578 kB / 0.8458 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.848e-06/1.465, allocations: 3.938 kB / 0.8458 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.333e-05/1.465, allocations: 2.5 kB / 0.8458 GB, free: 2.523 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002218/1.467, allocations: 0.8182 MB / 0.8466 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.526e-05/1.468, allocations: 11.69 kB / 0.8466 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/1.468, allocations: 96.23 kB / 0.8467 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/1.468, allocations: 65.53 kB / 0.8468 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.47, allocations: 455.3 kB / 0.8472 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/1.47, allocations: 43.48 kB / 0.8473 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.47, allocations: 50.27 kB / 0.8473 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/1.472, allocations: 0.7001 MB / 0.848 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/1.472, allocations: 6.031 kB / 0.848 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/1.472, allocations: 25.48 kB / 0.848 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-05/1.472, allocations: 31.66 kB / 0.8481 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/1.473, allocations: 372.6 kB / 0.8484 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/1.478, allocations: 3.214 MB / 0.8516 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/1.479, allocations: 220 kB / 0.8518 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/1.479, allocations: 127.8 kB / 0.8519 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/1.479, allocations: 2.844 kB / 0.8519 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/1.479, allocations: 49.44 kB / 0.8519 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 5.39e-06/1.479, allocations: 0 / 0.8519 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.001346/1.48, allocations: 247.4 kB / 0.8522 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/1.481, allocations: 295.2 kB / 0.8525 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.482, allocations: 0.6861 MB / 0.8531 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.482, allocations: 29.77 kB / 0.8531 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.483, allocations: 263.1 kB / 0.8534 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/1.483, allocations: 39.36 kB / 0.8534 GB, free: 14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.483, allocations: 32.05 kB / 0.8535 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.483, allocations: 371.7 kB / 0.8538 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.483, allocations: 40.75 kB / 0.8539 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/1.484, allocations: 100.1 kB / 0.854 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/1.484, allocations: 130.4 kB / 0.8541 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.484, allocations: 0.9062 kB / 0.8541 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006624/1.485, allocations: 184.3 kB / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.485, allocations: 6.844 kB / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.485, allocations: 5.094 kB / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.485, allocations: 0 / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/1.485, allocations: 42.3 kB / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.485, allocations: 4.344 kB / 0.8543 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/1.486, allocations: 62.19 kB / 0.8544 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/1.486, allocations: 8.312 kB / 0.8544 GB, free: 13.47 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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 0.0004237/1.486, allocations: 200.1 kB / 0.8546 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/1.487, allocations: 62.56 kB / 0.8546 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/1.487, allocations: 57.75 kB / 0.8547 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.487, allocations: 6.281 kB / 0.8547 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.487, allocations: 2.406 kB / 0.8547 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.487, allocations: 12.48 kB / 0.8547 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/1.49, allocations: 1.297 MB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.49, allocations: 3.344 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/1.49, allocations: 43.06 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/1.49, allocations: 3.562 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/1.49, allocations: 6.344 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.49, allocations: 7.953 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.49, allocations: 6.219 kB / 0.856 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/1.491, allocations: 333.7 kB / 0.8564 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/1.491, allocations: 144.7 kB / 0.8565 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.491, allocations: 11.52 kB / 0.8565 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/1.492, allocations: 4 kB / 0.8565 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.492, allocations: 22.7 kB / 0.8565 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/1.492, allocations: 4.656 kB / 0.8565 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009828/1.493, allocations: 0.4953 MB / 0.857 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/1.493, allocations: 0.8438 kB / 0.857 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007777/1.494, allocations: 89.12 kB / 0.8571 GB, free: 11.88 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.001475/1.495, allocations: 0.908 MB / 0.858 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005521/1.496, allocations: 104.8 kB / 0.8581 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.496, allocations: 0 / 0.8581 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/1.496, allocations: 64.36 kB / 0.8582 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.499, allocations: 292.5 kB / 0.8584 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/1.508, allocations: 4.434 MB / 0.8628 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/1.509, allocations: 0.9079 MB / 0.8637 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005876/1.51, allocations: 109.4 kB / 0.8638 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/1.51, allocations: 174 kB / 0.8639 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of SimCode: time 1.793e-06/1.51, allocations: 0 / 0.8639 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06992/1.58, allocations: 13.79 MB / 0.8774 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/16.21, allocations: 15.19 kB / 0.8774 GB, free: 6.664 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)