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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001733, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8067/0.8067, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 403.3 MB, free: 7.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 115.1 kB / 484.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009725, allocations: 59.91 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1266, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4698/0.5964, allocations: 173.7 MB / 0.8098 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009257/0.6057, allocations: 8.7 MB / 0.8183 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.6066, allocations: 23.81 kB / 0.8183 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.6073, allocations: 242.4 kB / 0.8186 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.6081, allocations: 286.6 kB / 0.8188 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.609, allocations: 333.9 kB / 0.8192 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.6104, allocations: 1.624 MB / 0.8208 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.611, allocations: 0.5085 MB / 0.8212 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.6152, allocations: 1.934 MB / 0.8231 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.6156, allocations: 370.3 kB / 0.8235 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.6157, allocations: 28 kB / 0.8235 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.6159, allocations: 67.91 kB / 0.8236 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.6161, allocations: 243.4 kB / 0.8238 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.6164, allocations: 274.5 kB / 0.8241 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.617, allocations: 0.6034 MB / 0.8247 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.617, allocations: 0 / 0.8247 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.52e-07/0.617, allocations: 0 / 0.8247 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.617, allocations: 0 / 0.8247 GB, free: 6.18 MB / 0.5573 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.001035/0.6181, allocations: 0.8224 MB / 0.8255 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6181, allocations: 12.03 kB / 0.8255 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.6182, allocations: 67.19 kB / 0.8255 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.6188, allocations: 406.2 kB / 0.8259 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.6189, allocations: 45.31 kB / 0.826 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/0.619, allocations: 51.98 kB / 0.826 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.6199, allocations: 0.7065 MB / 0.8267 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.6199, allocations: 4 kB / 0.8267 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.62, allocations: 27.92 kB / 0.8267 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.62, allocations: 35.92 kB / 0.8268 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.6207, allocations: 371.4 kB / 0.8271 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.6232, allocations: 3.228 MB / 0.8303 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.6235, allocations: 222.2 kB / 0.8305 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.6237, allocations: 128.5 kB / 0.8306 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.6237, allocations: 7.938 kB / 0.8306 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6238, allocations: 50.5 kB / 0.8307 GB, free: 15.57 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.6238, allocations: 0 / 0.8307 GB, free: 15.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0006647/0.6244, allocations: 253.4 kB / 0.8309 GB, free: 15.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.6246, allocations: 290.7 kB / 0.8312 GB, free: 14.97 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.6253, allocations: 0.6877 MB / 0.8319 GB, free: 14.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6253, allocations: 26.11 kB / 0.8319 GB, free: 14.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.6255, allocations: 272.2 kB / 0.8322 GB, free: 13.97 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.6256, allocations: 35.53 kB / 0.8322 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.6256, allocations: 33.7 kB / 0.8322 GB, free: 13.89 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6258, allocations: 362.8 kB / 0.8326 GB, free: 13.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.6259, allocations: 35.97 kB / 0.8326 GB, free: 13.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.6261, allocations: 97.09 kB / 0.8327 GB, free: 13.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6263, allocations: 136.4 kB / 0.8328 GB, free: 13.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6264, allocations: 0 / 0.8328 GB, free: 13.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003308/0.6267, allocations: 188.8 kB / 0.833 GB, free: 13.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6267, allocations: 11.94 kB / 0.833 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6267, allocations: 0 / 0.833 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6268, allocations: 192 / 0.833 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.627, allocations: 43.95 kB / 0.8331 GB, free: 12.99 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.627, allocations: 4 kB / 0.8331 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.6272, allocations: 59.36 kB / 0.8331 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.6273, allocations: 11.98 kB / 0.8331 GB, free: 12.91 MB / 0.573 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.0001994/0.6275, allocations: 207 kB / 0.8333 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6277, allocations: 63.19 kB / 0.8334 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.6278, allocations: 60.31 kB / 0.8334 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6278, allocations: 4 kB / 0.8334 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6278, allocations: 4 kB / 0.8334 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6278, allocations: 0 / 0.8334 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.6291, allocations: 1.3 MB / 0.8347 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6291, allocations: 0 / 0.8347 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.6293, allocations: 40.23 kB / 0.8348 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6293, allocations: 8 kB / 0.8348 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.6293, allocations: 8.188 kB / 0.8348 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6293, allocations: 4 kB / 0.8348 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6293, allocations: 11.81 kB / 0.8348 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.6302, allocations: 1.035 MB / 0.8358 GB, free: 9.988 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6304, allocations: 156.2 kB / 0.8359 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.6304, allocations: 8 kB / 0.836 GB, free: 9.809 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.6306, allocations: 15.98 kB / 0.836 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.6306, allocations: 11.98 kB / 0.836 GB, free: 9.781 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.6307, allocations: 8 kB / 0.836 GB, free: 9.773 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004738/0.6311, allocations: 0.4912 MB / 0.8365 GB, free: 9.285 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6311, allocations: 0 / 0.8365 GB, free: 9.285 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004641/0.6316, allocations: 87.88 kB / 0.8366 GB, free: 9.199 MB / 0.573 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.0002795/0.6319, allocations: 145.1 kB / 0.8367 GB, free: 9.062 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.6322, allocations: 103.8 kB / 0.8368 GB, free: 8.961 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6322, allocations: 4 kB / 0.8368 GB, free: 8.957 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6324, allocations: 56.83 kB / 0.8368 GB, free: 8.902 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6337, allocations: 276.2 kB / 0.8371 GB, free: 8.637 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.635, allocations: 1.139 MB / 0.8382 GB, free: 7.422 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.6354, allocations: 0.9091 MB / 0.8391 GB, free: 6.488 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.6356, allocations: 112 kB / 0.8392 GB, free: 6.383 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.6357, allocations: 35.44 kB / 0.8393 GB, free: 6.348 MB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.6357, allocations: 4 kB / 0.8393 GB, free: 6.344 MB / 0.573 GB Notification: Performance of Templates: time 0.01302/0.6487, allocations: 8.219 MB / 0.8473 GB, free: 14.23 MB / 0.5886 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)