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.001606/0.001606, allocations: 104.1 kB / 15.88 MB, free: 4 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.00218/0.00218, allocations: 196.1 kB / 16.79 MB, free: 6.832 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.84 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1785, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4911/0.6696, allocations: 173.7 MB / 0.754 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.6802, allocations: 8.701 MB / 0.7625 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.6814, allocations: 23.88 kB / 0.7625 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.6823, allocations: 230.4 kB / 0.7627 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.6832, allocations: 294.7 kB / 0.763 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.6842, allocations: 341.1 kB / 0.7633 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.6859, allocations: 1.623 MB / 0.7649 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.6866, allocations: 0.5046 MB / 0.7654 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.6918, allocations: 1.923 MB / 0.7673 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.6924, allocations: 378.3 kB / 0.7677 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.6925, allocations: 24 kB / 0.7677 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.6927, allocations: 63.95 kB / 0.7677 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.693, allocations: 251.4 kB / 0.768 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.6933, allocations: 270.5 kB / 0.7682 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.6938, allocations: 475 kB / 0.7687 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6938, allocations: 0 / 0.7687 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6938, allocations: 0 / 0.7687 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6938, allocations: 0 / 0.7687 GB, free: 0.6406 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.001103/0.6949, allocations: 0.8206 MB / 0.7695 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.695, allocations: 12.03 kB / 0.7695 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.6951, allocations: 67.19 kB / 0.7696 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.6957, allocations: 410.2 kB / 0.77 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.6957, allocations: 45.31 kB / 0.77 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.6958, allocations: 47.98 kB / 0.77 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6968, allocations: 0.7027 MB / 0.7707 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6969, allocations: 7.938 kB / 0.7707 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.6969, allocations: 31.86 kB / 0.7708 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.697, allocations: 27.98 kB / 0.7708 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.6976, allocations: 367.4 kB / 0.7711 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.7003, allocations: 3.231 MB / 0.7743 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.7006, allocations: 218.1 kB / 0.7745 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.7008, allocations: 128.5 kB / 0.7746 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.7008, allocations: 7.984 kB / 0.7746 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.7009, allocations: 46.83 kB / 0.7747 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.7009, allocations: 0 / 0.7747 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000757/0.7016, allocations: 249.5 kB / 0.7749 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.7018, allocations: 298.6 kB / 0.7752 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.7026, allocations: 0.6838 MB / 0.7759 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.7026, allocations: 30.11 kB / 0.7759 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7028, allocations: 272.1 kB / 0.7762 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7029, allocations: 35.53 kB / 0.7762 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.7029, allocations: 33.66 kB / 0.7762 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7031, allocations: 370.8 kB / 0.7766 GB, free: 8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.7032, allocations: 31.97 kB / 0.7766 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.7034, allocations: 101.5 kB / 0.7767 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.7037, allocations: 133 kB / 0.7768 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7037, allocations: 0 / 0.7768 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003395/0.704, allocations: 191.7 kB / 0.777 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.7041, allocations: 11.94 kB / 0.777 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7041, allocations: 0 / 0.777 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7041, allocations: 4.188 kB / 0.777 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.7043, allocations: 43.95 kB / 0.7771 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7044, allocations: 7.938 kB / 0.7771 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.7046, allocations: 55.36 kB / 0.7771 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.7046, allocations: 8 kB / 0.7771 GB, free: 7.383 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.0002474/0.7049, allocations: 205.8 kB / 0.7773 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.7051, allocations: 63.19 kB / 0.7774 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.7052, allocations: 60.31 kB / 0.7775 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7052, allocations: 4 kB / 0.7775 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.7052, allocations: 4 kB / 0.7775 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.7052, allocations: 0 / 0.7775 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.7066, allocations: 1.297 MB / 0.7787 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7066, allocations: 0 / 0.7787 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.7068, allocations: 44.23 kB / 0.7788 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7068, allocations: 8 kB / 0.7788 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.7068, allocations: 4 kB / 0.7788 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7069, allocations: 7.938 kB / 0.7788 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7069, allocations: 3.984 kB / 0.7788 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.7073, allocations: 342.3 kB / 0.7791 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.7075, allocations: 148.3 kB / 0.7793 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.7076, allocations: 8 kB / 0.7793 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.7078, allocations: 21.14 kB / 0.7793 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.7078, allocations: 19.8 kB / 0.7793 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.7078, allocations: 4 kB / 0.7793 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006049/0.7085, allocations: 0.4989 MB / 0.7798 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7085, allocations: 4 kB / 0.7798 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003822/0.7088, allocations: 83.94 kB / 0.7799 GB, free: 4.406 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.0003268/0.7092, allocations: 132.7 kB / 0.78 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.7095, allocations: 107.8 kB / 0.7801 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7095, allocations: 0 / 0.7801 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.7097, allocations: 63.83 kB / 0.7802 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.711, allocations: 279.3 kB / 0.7804 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.7123, allocations: 1.054 MB / 0.7815 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.7128, allocations: 0.9052 MB / 0.7824 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.7128, allocations: 31.44 kB / 0.7824 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.7128, allocations: 4 kB / 0.7824 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01192/0.7248, allocations: 7.791 MB / 0.79 GB, free: 10.08 MB / 0.6075 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)