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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007426/0.007426, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001181/0.001182, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9812/0.9812, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4019, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1947/0.5966, allocations: 176 MB / 0.8365 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.6095, allocations: 8.706 MB / 0.845 GB, free: 8.312 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.6111, allocations: 23.81 kB / 0.845 GB, free: 8.289 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.6122, allocations: 309.8 kB / 0.8453 GB, free: 7.984 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.6132, allocations: 314.4 kB / 0.8456 GB, free: 7.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.6142, allocations: 381.7 kB / 0.846 GB, free: 7.305 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.6155, allocations: 1.152 MB / 0.8471 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.6163, allocations: 0.594 MB / 0.8477 GB, free: 5.551 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.6211, allocations: 2.133 MB / 0.8498 GB, free: 3.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.6215, allocations: 354.4 kB / 0.8501 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.6216, allocations: 44 kB / 0.8502 GB, free: 3.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.6218, allocations: 75.97 kB / 0.8502 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.6221, allocations: 255.4 kB / 0.8505 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.6224, allocations: 282.5 kB / 0.8507 GB, free: 2.418 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.623, allocations: 0.65 MB / 0.8514 GB, free: 1.766 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6231, allocations: 0 / 0.8514 GB, free: 1.766 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6231, allocations: 0 / 0.8514 GB, free: 1.766 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6231, allocations: 0 / 0.8514 GB, free: 1.766 MB / 0.67 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.0009989/0.6241, allocations: 0.8223 MB / 0.8522 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6241, allocations: 16.03 kB / 0.8522 GB, free: 0.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.6242, allocations: 63.25 kB / 0.8523 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.6248, allocations: 450.1 kB / 0.8527 GB, free: 340 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.6249, allocations: 37.31 kB / 0.8527 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.625, allocations: 51.98 kB / 0.8528 GB, free: 252 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/0.6259, allocations: 0.7066 MB / 0.8535 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.626, allocations: 4 kB / 0.8535 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.626, allocations: 16 kB / 0.8535 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.6261, allocations: 39.92 kB / 0.8535 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.6267, allocations: 377.2 kB / 0.8539 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.6292, allocations: 3.211 MB / 0.857 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.6295, allocations: 214.1 kB / 0.8572 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6297, allocations: 132.5 kB / 0.8573 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.6297, allocations: 7.938 kB / 0.8573 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.6297, allocations: 50.48 kB / 0.8574 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.6297, allocations: 0 / 0.8574 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006857/0.6304, allocations: 253.6 kB / 0.8576 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.6306, allocations: 294.7 kB / 0.8579 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.6314, allocations: 0.6799 MB / 0.8586 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6314, allocations: 33.7 kB / 0.8586 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6316, allocations: 264.2 kB / 0.8589 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.6316, allocations: 31.72 kB / 0.8589 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.6317, allocations: 33.7 kB / 0.8589 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6319, allocations: 370.8 kB / 0.8593 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.632, allocations: 31.97 kB / 0.8593 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6322, allocations: 93.38 kB / 0.8594 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.6324, allocations: 133.1 kB / 0.8595 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.6324, allocations: 8 kB / 0.8595 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003148/0.6327, allocations: 192.6 kB / 0.8597 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6328, allocations: 7.984 kB / 0.8597 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6328, allocations: 4 kB / 0.8597 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6328, allocations: 0 / 0.8597 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.633, allocations: 44.16 kB / 0.8598 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.633, allocations: 7.922 kB / 0.8598 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.6332, allocations: 51.38 kB / 0.8598 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.6333, allocations: 7.984 kB / 0.8598 GB, free: 8.492 MB / 0.6856 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.0001949/0.6335, allocations: 203.2 kB / 0.86 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.6337, allocations: 67.19 kB / 0.8601 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.668e-05/0.6338, allocations: 60.31 kB / 0.8602 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6338, allocations: 8 kB / 0.8602 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6338, allocations: 0 / 0.8602 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6338, allocations: 4 kB / 0.8602 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.6351, allocations: 1.3 MB / 0.8614 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6351, allocations: 0 / 0.8614 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6353, allocations: 43.95 kB / 0.8615 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6353, allocations: 4 kB / 0.8615 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6353, allocations: 4 kB / 0.8615 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.6353, allocations: 8.219 kB / 0.8615 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6354, allocations: 11.92 kB / 0.8615 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.6357, allocations: 334.6 kB / 0.8618 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.6359, allocations: 152.3 kB / 0.862 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.636, allocations: 4 kB / 0.862 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6362, allocations: 15.92 kB / 0.862 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.6362, allocations: 15.94 kB / 0.862 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6362, allocations: 4 kB / 0.862 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005066/0.6367, allocations: 0.499 MB / 0.8625 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6367, allocations: 0 / 0.8625 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003575/0.6371, allocations: 79.91 kB / 0.8626 GB, free: 5.535 MB / 0.6856 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.0003009/0.6374, allocations: 142.5 kB / 0.8627 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.6377, allocations: 103.8 kB / 0.8628 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6377, allocations: 0 / 0.8628 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.6379, allocations: 64.78 kB / 0.8629 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.639, allocations: 293.3 kB / 0.8631 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.6401, allocations: 0.8686 MB / 0.864 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.6406, allocations: 0.9049 MB / 0.8649 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.6408, allocations: 108.6 kB / 0.865 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.6409, allocations: 35.44 kB / 0.865 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.6409, allocations: 0 / 0.865 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of Templates: time 0.3538/0.9947, allocations: 8.438 MB / 0.8733 GB, free: 193.2 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)