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.00131/0.00131, allocations: 99.86 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.001534/0.001534, 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 1.957/1.957, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.212/1.212, allocations: 132.2 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006883, allocations: 8 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8651/0.8658, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3421/1.208, allocations: 146.9 MB / 0.7264 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01706/1.225, allocations: 6.995 MB / 0.7332 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009106/1.226, allocations: 19.81 kB / 0.7333 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/1.227, allocations: 346.4 kB / 0.7336 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/1.229, allocations: 367 kB / 0.7339 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/1.231, allocations: 0.5187 MB / 0.7344 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001744/1.233, allocations: 0.6815 MB / 0.7351 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/1.234, allocations: 456.2 kB / 0.7355 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005191/1.239, allocations: 1.219 MB / 0.7367 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/1.24, allocations: 215 kB / 0.7369 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/1.24, allocations: 20 kB / 0.737 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/1.24, allocations: 59.89 kB / 0.737 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/1.241, allocations: 219.4 kB / 0.7372 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/1.241, allocations: 121.5 kB / 0.7373 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008076/1.242, allocations: 458.9 kB / 0.7378 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.242, allocations: 0 / 0.7378 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.197e-06/1.242, allocations: 3.938 kB / 0.7378 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.242, allocations: 0 / 0.7378 GB, free: 1.656 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.001765/1.243, allocations: 0.7211 MB / 0.7385 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.263e-05/1.244, allocations: 8.031 kB / 0.7385 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/1.244, allocations: 102.5 kB / 0.7386 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/1.244, allocations: 67.2 kB / 0.7387 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.245, allocations: 406.4 kB / 0.739 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/1.245, allocations: 45.3 kB / 0.7391 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.245, allocations: 52 kB / 0.7391 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.247, allocations: 0.7081 MB / 0.7398 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/1.247, allocations: 3.938 kB / 0.7398 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/1.247, allocations: 24 kB / 0.7399 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/1.248, allocations: 23.98 kB / 0.7399 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/1.249, allocations: 399.3 kB / 0.7403 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/1.253, allocations: 3.219 MB / 0.7434 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/1.254, allocations: 226.1 kB / 0.7436 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/1.254, allocations: 3.938 kB / 0.7436 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/1.254, allocations: 50.55 kB / 0.7437 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=10): time 4.969e-06/1.254, allocations: 0 / 0.7437 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10): time 0.001426/1.256, allocations: 265.6 kB / 0.7439 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002776/1.256, allocations: 290.7 kB / 0.7442 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.257, allocations: 0.6799 MB / 0.7449 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/1.257, allocations: 29.95 kB / 0.7449 GB, free: 9.859 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.258, allocations: 272.2 kB / 0.7452 GB, free: 9.59 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/1.258, allocations: 31.55 kB / 0.7452 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/1.258, allocations: 0 / 0.7452 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002399/1.258, allocations: 370.7 kB / 0.7455 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.258, allocations: 39.97 kB / 0.7456 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/1.259, allocations: 101.1 kB / 0.7457 GB, free: 9.031 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/1.259, allocations: 56.23 kB / 0.7457 GB, free: 8.977 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.259, allocations: 0 / 0.7457 GB, free: 8.977 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005552/1.259, allocations: 204.9 kB / 0.7459 GB, free: 8.77 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.259, allocations: 7.938 kB / 0.7459 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.259, allocations: 4 kB / 0.7459 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.259, allocations: 0 / 0.7459 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/1.26, allocations: 51.95 kB / 0.746 GB, free: 8.707 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.26, allocations: 4.219 kB / 0.746 GB, free: 8.703 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/1.26, allocations: 67.3 kB / 0.7461 GB, free: 8.637 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/1.26, allocations: 8 kB / 0.7461 GB, free: 8.629 MB / 0.5763 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.0003401/1.261, allocations: 205.7 kB / 0.7463 GB, free: 8.418 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/1.261, allocations: 63.25 kB / 0.7463 GB, free: 8.355 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/1.261, allocations: 60.33 kB / 0.7464 GB, free: 8.289 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.261, allocations: 4 kB / 0.7464 GB, free: 8.285 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.261, allocations: 7.984 kB / 0.7464 GB, free: 8.277 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.261, allocations: 0 / 0.7464 GB, free: 8.277 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.264, allocations: 1.304 MB / 0.7477 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.264, allocations: 0 / 0.7477 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/1.264, allocations: 56.23 kB / 0.7477 GB, free: 6.828 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.264, allocations: 0 / 0.7477 GB, free: 6.828 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.264, allocations: 4 kB / 0.7477 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/1.264, allocations: 7.953 kB / 0.7477 GB, free: 6.816 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.264, allocations: 7.938 kB / 0.7477 GB, free: 6.809 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/1.265, allocations: 453.9 kB / 0.7482 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/1.265, allocations: 152.3 kB / 0.7483 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/1.265, allocations: 4 kB / 0.7483 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/1.266, allocations: 15.98 kB / 0.7483 GB, free: 6.078 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/1.266, allocations: 27.88 kB / 0.7484 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/1.266, allocations: 8.062 kB / 0.7484 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009599/1.267, allocations: 499 kB / 0.7488 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.41e-07/1.267, allocations: 0 / 0.7488 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0007257/1.267, allocations: 75.94 kB / 0.7489 GB, free: 5.484 MB / 0.5763 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.001967/1.269, allocations: 1.647 MB / 0.7505 GB, free: 3.762 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005383/1.27, allocations: 111.8 kB / 0.7506 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.27, allocations: 0 / 0.7506 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/1.27, allocations: 72.77 kB / 0.7507 GB, free: 3.582 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.272, allocations: 266.5 kB / 0.751 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/1.28, allocations: 3.761 MB / 0.7546 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/1.28, allocations: 0.913 MB / 0.7555 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006259/1.281, allocations: 100.6 kB / 0.7556 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.281, allocations: 175.4 kB / 0.7558 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of SimCode: time 1.463e-06/1.281, allocations: 0 / 0.7558 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/1.322, allocations: 12.96 MB / 0.7684 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/1.322, allocations: 208.1 kB / 0.7686 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.329, allocations: 4 kB / 0.7686 GB, free: 1.332 MB / 0.5919 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/linux/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) Environment - environmentSimulation: