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.0008286/0.0008285, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005065/0.005065, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9533/0.9533, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 8.781 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4437/0.5916, allocations: 171.4 MB / 0.7555 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009896/0.6016, allocations: 8.583 MB / 0.7639 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.6026, allocations: 14.25 kB / 0.7639 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.6034, allocations: 240 kB / 0.7641 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.6042, allocations: 290.6 kB / 0.7644 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.6052, allocations: 329.2 kB / 0.7647 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.6068, allocations: 1.622 MB / 0.7663 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007142/0.6075, allocations: 0.491 MB / 0.7668 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.6121, allocations: 1.907 MB / 0.7686 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.6125, allocations: 346.4 kB / 0.769 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.6126, allocations: 20 kB / 0.769 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.6128, allocations: 51.97 kB / 0.769 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.613, allocations: 247.3 kB / 0.7693 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.6133, allocations: 280.2 kB / 0.7695 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.6139, allocations: 0.5877 MB / 0.7701 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6139, allocations: 0 / 0.7701 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6139, allocations: 0 / 0.7701 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6139, allocations: 0 / 0.7701 GB, free: 1.969 MB / 0.5762 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.0009515/0.6149, allocations: 0.7237 MB / 0.7708 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6149, allocations: 12.03 kB / 0.7708 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.6151, allocations: 94.52 kB / 0.7709 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.6152, allocations: 63.25 kB / 0.771 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.6157, allocations: 414.2 kB / 0.7714 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.6157, allocations: 48.17 kB / 0.7714 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.6158, allocations: 48 kB / 0.7715 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.6169, allocations: 0.7105 MB / 0.7722 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.617, allocations: 7.875 kB / 0.7722 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.617, allocations: 28 kB / 0.7722 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.6171, allocations: 23.98 kB / 0.7722 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.6178, allocations: 391.3 kB / 0.7726 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.6204, allocations: 3.235 MB / 0.7758 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.6206, allocations: 226.1 kB / 0.776 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.6209, allocations: 132.6 kB / 0.7761 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.6209, allocations: 4 kB / 0.7761 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6209, allocations: 46.44 kB / 0.7761 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.6209, allocations: 3.938 kB / 0.7761 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007408/0.6217, allocations: 269.6 kB / 0.7764 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.6218, allocations: 298.7 kB / 0.7767 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.6226, allocations: 0.6839 MB / 0.7774 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.6226, allocations: 25.7 kB / 0.7774 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.6228, allocations: 268.3 kB / 0.7776 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.6229, allocations: 31.88 kB / 0.7777 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.6229, allocations: 17.72 kB / 0.7777 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6231, allocations: 370.8 kB / 0.778 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.6232, allocations: 43.91 kB / 0.7781 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6234, allocations: 105.1 kB / 0.7782 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.6236, allocations: 133 kB / 0.7783 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6237, allocations: 0 / 0.7783 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003635/0.624, allocations: 212.6 kB / 0.7785 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6241, allocations: 8 kB / 0.7785 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6241, allocations: 0 / 0.7785 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6241, allocations: 4 kB / 0.7785 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.6243, allocations: 52.14 kB / 0.7786 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6243, allocations: 0 / 0.7786 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.6246, allocations: 59.36 kB / 0.7786 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.6246, allocations: 16 kB / 0.7786 GB, free: 8.629 MB / 0.5919 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.0002011/0.6248, allocations: 201.7 kB / 0.7788 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.625, allocations: 67.17 kB / 0.7789 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.6251, allocations: 60.33 kB / 0.779 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6252, allocations: 4 kB / 0.779 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.6252, allocations: 4 kB / 0.779 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.6252, allocations: 3.984 kB / 0.779 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.6265, allocations: 1.307 MB / 0.7802 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6265, allocations: 8.281 kB / 0.7803 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.6268, allocations: 51.89 kB / 0.7803 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6268, allocations: 4 kB / 0.7803 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6268, allocations: 4 kB / 0.7803 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6268, allocations: 0 / 0.7803 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6268, allocations: 8.562 kB / 0.7803 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.6272, allocations: 350.5 kB / 0.7807 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6274, allocations: 148.3 kB / 0.7808 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.6275, allocations: 8 kB / 0.7808 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.6277, allocations: 19.98 kB / 0.7808 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.6277, allocations: 15.92 kB / 0.7808 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.6277, allocations: 8 kB / 0.7808 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005637/0.6283, allocations: 0.4912 MB / 0.7813 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6283, allocations: 4 kB / 0.7813 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004054/0.6287, allocations: 83.94 kB / 0.7814 GB, free: 5.633 MB / 0.5919 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.000969/0.6297, allocations: 0.9113 MB / 0.7823 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.63, allocations: 115.8 kB / 0.7824 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6301, allocations: 0 / 0.7824 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.6302, allocations: 67.83 kB / 0.7825 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6318, allocations: 278.3 kB / 0.7827 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.6377, allocations: 4.727 MB / 0.7874 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.6382, allocations: 0.9053 MB / 0.7882 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.6385, allocations: 104.6 kB / 0.7883 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6387, allocations: 171.4 kB / 0.7885 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.6387, allocations: 0 / 0.7885 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4572/1.096, allocations: 12.8 MB / 0.801 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/1.096, allocations: 244.9 kB / 0.8012 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.366, allocations: 0 / 0.8012 GB, free: 1.363 MB / 0.6075 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/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)