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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 198.3 kB / 16.53 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 63.97 kB / 0.5018 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1608, allocations: 80.21 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4538/0.6147, allocations: 176 MB / 0.7519 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.6249, allocations: 8.708 MB / 0.7604 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.6258, allocations: 23.81 kB / 0.7605 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009785/0.6268, allocations: 301.8 kB / 0.7607 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.628, allocations: 306.3 kB / 0.761 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.6293, allocations: 374.7 kB / 0.7614 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.6308, allocations: 1.154 MB / 0.7625 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008836/0.6317, allocations: 0.5881 MB / 0.7631 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.6364, allocations: 2.055 MB / 0.7651 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.6369, allocations: 354.4 kB / 0.7654 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6371, allocations: 40 kB / 0.7655 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.6374, allocations: 83.95 kB / 0.7656 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.6376, allocations: 251.4 kB / 0.7658 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.638, allocations: 282.5 kB / 0.7661 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.6388, allocations: 0.6151 MB / 0.7667 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6388, allocations: 7.938 kB / 0.7667 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6388, allocations: 0 / 0.7667 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.6388, allocations: 0 / 0.7667 GB, free: 3.773 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.001105/0.6399, allocations: 0.8287 MB / 0.7675 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.64, allocations: 8.031 kB / 0.7675 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.6401, allocations: 75.17 kB / 0.7676 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.6406, allocations: 414.1 kB / 0.768 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.6407, allocations: 41.3 kB / 0.768 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.6408, allocations: 55.98 kB / 0.7681 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/0.6417, allocations: 0.7066 MB / 0.7687 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6417, allocations: 7.938 kB / 0.7688 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.6418, allocations: 23.94 kB / 0.7688 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.6418, allocations: 27.98 kB / 0.7688 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.6425, allocations: 383.3 kB / 0.7692 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.645, allocations: 3.227 MB / 0.7723 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.6453, allocations: 222.1 kB / 0.7725 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.6455, allocations: 132.5 kB / 0.7727 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6455, allocations: 4 kB / 0.7727 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.6455, allocations: 46.5 kB / 0.7727 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.6455, allocations: 0 / 0.7727 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006995/0.6462, allocations: 249.6 kB / 0.7729 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6464, allocations: 294.8 kB / 0.7732 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.6471, allocations: 0.6877 MB / 0.7739 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6471, allocations: 25.7 kB / 0.7739 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.6473, allocations: 268.2 kB / 0.7742 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.6473, allocations: 35.59 kB / 0.7742 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.6474, allocations: 25.72 kB / 0.7742 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6476, allocations: 370.8 kB / 0.7746 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.6477, allocations: 39.97 kB / 0.7746 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.6479, allocations: 103.4 kB / 0.7747 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.6481, allocations: 129 kB / 0.7749 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6481, allocations: 0 / 0.7749 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003477/0.6485, allocations: 192.8 kB / 0.775 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6485, allocations: 10.59 kB / 0.775 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6485, allocations: 4 kB / 0.775 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6485, allocations: 0 / 0.775 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.6487, allocations: 43.89 kB / 0.7751 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6487, allocations: 4 kB / 0.7751 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.649, allocations: 59.55 kB / 0.7752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.649, allocations: 4 kB / 0.7752 GB, free: 10.5 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.0001796/0.6492, allocations: 197.8 kB / 0.7753 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.6494, allocations: 67.19 kB / 0.7754 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.6495, allocations: 60.33 kB / 0.7755 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6495, allocations: 4 kB / 0.7755 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6495, allocations: 4 kB / 0.7755 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6495, allocations: 0 / 0.7755 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.6508, allocations: 1.308 MB / 0.7767 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.6509, allocations: 4.031 kB / 0.7768 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.6511, allocations: 35.97 kB / 0.7768 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6511, allocations: 7.984 kB / 0.7768 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6511, allocations: 7.125 kB / 0.7768 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6511, allocations: 7.938 kB / 0.7768 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6511, allocations: 0 / 0.7768 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.6515, allocations: 334.4 kB / 0.7771 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.6517, allocations: 152.3 kB / 0.7773 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.6518, allocations: 7.984 kB / 0.7773 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.6519, allocations: 4 kB / 0.7773 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.652, allocations: 23.86 kB / 0.7773 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.652, allocations: 4 kB / 0.7773 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005532/0.6526, allocations: 0.499 MB / 0.7778 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6526, allocations: 0 / 0.7778 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003979/0.653, allocations: 76.22 kB / 0.7779 GB, free: 7.559 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.0003773/0.6534, allocations: 141.3 kB / 0.778 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.6537, allocations: 115.7 kB / 0.7781 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6537, allocations: 0 / 0.7781 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.6539, allocations: 59.89 kB / 0.7782 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6552, allocations: 283.9 kB / 0.7784 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.6565, allocations: 0.8904 MB / 0.7793 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.6571, allocations: 0.905 MB / 0.7802 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.6574, allocations: 104.6 kB / 0.7803 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.6574, allocations: 35.44 kB / 0.7803 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6574, allocations: 0 / 0.7803 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of Templates: time 0.01581/0.6732, allocations: 8.422 MB / 0.7886 GB, free: 12.73 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)