Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_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.00231/0.00231, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.00247/0.00247, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.225/3.225, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.928/1.928, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005182, allocations: 9.75 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3007, allocations: 82.32 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.821/1.122, allocations: 146.9 MB / 0.7307 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02186/1.144, allocations: 6.995 MB / 0.7375 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/1.145, allocations: 15.97 kB / 0.7376 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/1.148, allocations: 360.4 kB / 0.7379 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/1.151, allocations: 360.9 kB / 0.7382 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/1.154, allocations: 0.5252 MB / 0.7388 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002686/1.157, allocations: 0.6748 MB / 0.7394 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.158, allocations: 453.1 kB / 0.7398 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006292/1.165, allocations: 1.216 MB / 0.741 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/1.166, allocations: 228 kB / 0.7413 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/1.166, allocations: 22.16 kB / 0.7413 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/1.166, allocations: 48.64 kB / 0.7413 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/1.167, allocations: 225.2 kB / 0.7415 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/1.167, allocations: 123 kB / 0.7416 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009821/1.168, allocations: 459.3 kB / 0.7421 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.168, allocations: 0 / 0.7421 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.446e-06/1.168, allocations: 0 / 0.7421 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.211e-05/1.168, allocations: 4 kB / 0.7421 GB, free: 12.94 MB / 0.5606 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.001936/1.17, allocations: 0.7174 MB / 0.7428 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.917e-05/1.17, allocations: 8.812 kB / 0.7428 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/1.17, allocations: 98.45 kB / 0.7429 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/1.171, allocations: 64.22 kB / 0.743 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.172, allocations: 412 kB / 0.7433 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/1.172, allocations: 38.47 kB / 0.7434 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.172, allocations: 59.48 kB / 0.7434 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.174, allocations: 0.6953 MB / 0.7441 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.174, allocations: 7.938 kB / 0.7441 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/1.174, allocations: 26.14 kB / 0.7442 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.174, allocations: 30.09 kB / 0.7442 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.175, allocations: 394 kB / 0.7446 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/1.181, allocations: 3.217 MB / 0.7477 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/1.181, allocations: 223.6 kB / 0.7479 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.848e-05/1.181, allocations: 6.406 kB / 0.7479 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/1.182, allocations: 46.5 kB / 0.748 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 5.71e-06/1.182, allocations: 0 / 0.748 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.001349/1.183, allocations: 262.7 kB / 0.7482 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.183, allocations: 291.1 kB / 0.7485 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.185, allocations: 0.6887 MB / 0.7492 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/1.185, allocations: 25.7 kB / 0.7492 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/1.185, allocations: 264.2 kB / 0.7494 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/1.185, allocations: 39.67 kB / 0.7495 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/1.185, allocations: 0 / 0.7495 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003145/1.186, allocations: 370.7 kB / 0.7498 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.186, allocations: 35.97 kB / 0.7499 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/1.186, allocations: 117 kB / 0.75 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/1.186, allocations: 47.97 kB / 0.75 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.187, allocations: 0 / 0.75 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007218/1.187, allocations: 209.2 kB / 0.7502 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.187, allocations: 4 kB / 0.7502 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.187, allocations: 0 / 0.7502 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/1.187, allocations: 7.938 kB / 0.7502 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/1.188, allocations: 58.92 kB / 0.7503 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.188, allocations: 4 kB / 0.7503 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/1.188, allocations: 55.36 kB / 0.7503 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/1.188, allocations: 12 kB / 0.7504 GB, free: 4.984 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004753/1.189, allocations: 201.7 kB / 0.7506 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0045/1.193, allocations: 63.25 kB / 0.7506 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/1.194, allocations: 64.33 kB / 0.7507 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.194, allocations: 3.984 kB / 0.7507 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.194, allocations: 4 kB / 0.7507 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.194, allocations: 4 kB / 0.7507 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/1.197, allocations: 1.3 MB / 0.752 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.197, allocations: 4 kB / 0.752 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/1.198, allocations: 52.23 kB / 0.752 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.371e-05/1.198, allocations: 4 kB / 0.752 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/1.198, allocations: 4 kB / 0.752 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/1.198, allocations: 7.938 kB / 0.752 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.198, allocations: 3.953 kB / 0.752 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/1.199, allocations: 457.9 kB / 0.7525 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/1.199, allocations: 148.3 kB / 0.7526 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.199, allocations: 8 kB / 0.7526 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/1.2, allocations: 15.98 kB / 0.7526 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/1.2, allocations: 19.92 kB / 0.7526 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.2, allocations: 7.953 kB / 0.7527 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001135/1.201, allocations: 499.3 kB / 0.7531 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/1.201, allocations: 0 / 0.7531 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005081/1.206, allocations: 79.94 kB / 0.7532 GB, free: 1.84 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/1.208, allocations: 1.658 MB / 0.7548 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006276/1.209, allocations: 111.8 kB / 0.7549 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.209, allocations: 0 / 0.7549 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/1.209, allocations: 68.83 kB / 0.755 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.212, allocations: 266.8 kB / 0.7553 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.23, allocations: 3.764 MB / 0.7589 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.231, allocations: 0.9131 MB / 0.7598 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000722/1.232, allocations: 110.4 kB / 0.7599 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.232, allocations: 175.4 kB / 0.7601 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/1.232, allocations: 4 kB / 0.7601 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.397, allocations: 12.95 MB / 0.7727 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/1.398, allocations: 216.8 kB / 0.7729 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.45, allocations: 0 / 0.7729 GB, free: 13.68 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: