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.005946/0.005947, allocations: 105.9 kB / 15.73 MB, free: 6 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.001493/0.001493, allocations: 189 kB / 16.67 MB, free: 5.926 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8053/0.8053, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.59 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1751, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5551/0.7302, allocations: 176 MB / 0.8315 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009345/0.7396, allocations: 8.713 MB / 0.84 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.7404, allocations: 20.28 kB / 0.8401 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.7412, allocations: 296.8 kB / 0.8403 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.7419, allocations: 326.4 kB / 0.8406 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.7428, allocations: 373.8 kB / 0.841 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.7439, allocations: 1.152 MB / 0.8421 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007221/0.7446, allocations: 0.5856 MB / 0.8427 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.7489, allocations: 2.137 MB / 0.8448 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.7493, allocations: 346.5 kB / 0.8451 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.7494, allocations: 40.31 kB / 0.8452 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.7496, allocations: 81.58 kB / 0.8452 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.7498, allocations: 260.9 kB / 0.8455 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.7501, allocations: 280.8 kB / 0.8457 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.7507, allocations: 0.6508 MB / 0.8464 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7507, allocations: 0 / 0.8464 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7507, allocations: 0 / 0.8464 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7507, allocations: 0 / 0.8464 GB, free: 3.398 MB / 0.6075 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.0009239/0.7516, allocations: 0.8275 MB / 0.8472 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.7517, allocations: 9.344 kB / 0.8472 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.7518, allocations: 66.53 kB / 0.8473 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.7524, allocations: 456.7 kB / 0.8477 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.7524, allocations: 43.75 kB / 0.8477 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.7525, allocations: 55.05 kB / 0.8478 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.7534, allocations: 0.7021 MB / 0.8485 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7534, allocations: 6.688 kB / 0.8485 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.7535, allocations: 26.62 kB / 0.8485 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.7535, allocations: 26.45 kB / 0.8485 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.7541, allocations: 380.1 kB / 0.8489 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.7565, allocations: 3.212 MB / 0.852 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.7567, allocations: 219.5 kB / 0.8522 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.7569, allocations: 131.7 kB / 0.8524 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.757, allocations: 6.25 kB / 0.8524 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.757, allocations: 39.09 kB / 0.8524 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.757, allocations: 4 kB / 0.8524 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006531/0.7576, allocations: 248.8 kB / 0.8527 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.7578, allocations: 299.5 kB / 0.8529 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.7585, allocations: 0.6831 MB / 0.8536 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.7585, allocations: 29.7 kB / 0.8536 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.7587, allocations: 265.4 kB / 0.8539 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.7587, allocations: 36.64 kB / 0.8539 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.7588, allocations: 29.88 kB / 0.854 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7589, allocations: 370.2 kB / 0.8543 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.7591, allocations: 43.75 kB / 0.8543 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7592, allocations: 98.78 kB / 0.8544 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.7595, allocations: 127.6 kB / 0.8546 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7595, allocations: 0 / 0.8546 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000326/0.7598, allocations: 187.4 kB / 0.8547 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7598, allocations: 9.219 kB / 0.8548 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7598, allocations: 2.688 kB / 0.8548 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7599, allocations: 2.469 kB / 0.8548 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.7601, allocations: 47.14 kB / 0.8548 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.7601, allocations: 0 / 0.8548 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.7603, allocations: 57.58 kB / 0.8549 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.7603, allocations: 10.88 kB / 0.8549 GB, free: 12.16 MB / 0.6231 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.0001886/0.7605, allocations: 200.8 kB / 0.8551 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.7607, allocations: 61.69 kB / 0.8551 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.7608, allocations: 57.36 kB / 0.8552 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7608, allocations: 2.406 kB / 0.8552 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7608, allocations: 2.625 kB / 0.8552 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7608, allocations: 2.562 kB / 0.8552 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.7621, allocations: 1.312 MB / 0.8565 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7622, allocations: 6.094 kB / 0.8565 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.7623, allocations: 44.39 kB / 0.8565 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.7624, allocations: 6.031 kB / 0.8565 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7624, allocations: 2.625 kB / 0.8565 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7624, allocations: 4.656 kB / 0.8565 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7624, allocations: 2.812 kB / 0.8565 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.7628, allocations: 341 kB / 0.8568 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7629, allocations: 143.5 kB / 0.857 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.763, allocations: 12.3 kB / 0.857 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.7631, allocations: 5.812 kB / 0.857 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.7632, allocations: 16.67 kB / 0.857 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.7632, allocations: 8.531 kB / 0.857 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004824/0.7637, allocations: 0.4956 MB / 0.8575 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7637, allocations: 0 / 0.8575 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003772/0.7641, allocations: 84.19 kB / 0.8576 GB, free: 9.941 MB / 0.6231 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.0002719/0.7644, allocations: 143.6 kB / 0.8577 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.7647, allocations: 109.5 kB / 0.8578 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7647, allocations: 0 / 0.8578 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.7648, allocations: 63.14 kB / 0.8579 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.7662, allocations: 276.9 kB / 0.8582 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.7673, allocations: 0.8741 MB / 0.859 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.7677, allocations: 0.9114 MB / 0.8599 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.768, allocations: 104.6 kB / 0.86 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.768, allocations: 35.44 kB / 0.86 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.768, allocations: 0 / 0.86 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.01461/0.7826, allocations: 8.45 MB / 0.8683 GB, free: 15.64 MB / 0.6387 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)