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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001933/0.001933, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9926/0.9926, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.3 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2011, allocations: 80.92 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4706/0.6718, allocations: 173.7 MB / 0.7534 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.6824, allocations: 8.696 MB / 0.7618 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.6837, allocations: 19.81 kB / 0.7619 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.6849, allocations: 238.4 kB / 0.7621 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.686, allocations: 290.7 kB / 0.7624 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.6871, allocations: 346.7 kB / 0.7627 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.6891, allocations: 1.622 MB / 0.7643 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.69, allocations: 0.5007 MB / 0.7648 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.6953, allocations: 1.923 MB / 0.7667 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007784/0.6961, allocations: 370.3 kB / 0.767 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.6962, allocations: 28 kB / 0.767 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.6965, allocations: 71.89 kB / 0.7671 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.6968, allocations: 251.4 kB / 0.7673 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.6972, allocations: 266.5 kB / 0.7676 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.6979, allocations: 0.5995 MB / 0.7682 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6979, allocations: 4 kB / 0.7682 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6979, allocations: 0 / 0.7682 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.6979, allocations: 0 / 0.7682 GB, free: 0.5039 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.001214/0.6991, allocations: 0.8204 MB / 0.769 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6992, allocations: 8.031 kB / 0.769 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6993, allocations: 71.19 kB / 0.7691 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.6999, allocations: 414.2 kB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.7, allocations: 41.3 kB / 0.7695 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.7001, allocations: 48 kB / 0.7695 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7011, allocations: 0.7144 MB / 0.7702 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.7012, allocations: 4 kB / 0.7702 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.7012, allocations: 23.92 kB / 0.7703 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.7013, allocations: 35.92 kB / 0.7703 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.7019, allocations: 371.4 kB / 0.7707 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.7047, allocations: 3.227 MB / 0.7738 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.705, allocations: 218.5 kB / 0.774 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.7052, allocations: 132.5 kB / 0.7741 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.7052, allocations: 4 kB / 0.7741 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.7053, allocations: 50.44 kB / 0.7742 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.7053, allocations: 0 / 0.7742 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007262/0.706, allocations: 249.5 kB / 0.7744 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.7062, allocations: 298.7 kB / 0.7747 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.707, allocations: 0.6803 MB / 0.7754 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.707, allocations: 33.7 kB / 0.7754 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.7072, allocations: 268.1 kB / 0.7757 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.7073, allocations: 31.55 kB / 0.7757 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.7073, allocations: 33.7 kB / 0.7757 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7075, allocations: 366.8 kB / 0.7761 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.7076, allocations: 35.95 kB / 0.7761 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.7078, allocations: 105 kB / 0.7762 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.708, allocations: 133 kB / 0.7763 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.708, allocations: 0 / 0.7763 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003541/0.7084, allocations: 184.8 kB / 0.7765 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7084, allocations: 10.12 kB / 0.7765 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7084, allocations: 4.188 kB / 0.7765 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7085, allocations: 4 kB / 0.7765 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.7087, allocations: 45.2 kB / 0.7766 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.7087, allocations: 9.656 kB / 0.7766 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.709, allocations: 59.34 kB / 0.7766 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.709, allocations: 4 kB / 0.7766 GB, free: 7.242 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.0002165/0.7092, allocations: 205.8 kB / 0.7768 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.7094, allocations: 63.19 kB / 0.7769 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.7095, allocations: 60.31 kB / 0.777 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7096, allocations: 4 kB / 0.777 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7096, allocations: 4 kB / 0.777 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7096, allocations: 0 / 0.777 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.711, allocations: 1.3 MB / 0.7782 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.711, allocations: 3.75 kB / 0.7782 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.7112, allocations: 48.23 kB / 0.7783 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.7112, allocations: 4 kB / 0.7783 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.7112, allocations: 4 kB / 0.7783 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7112, allocations: 7.984 kB / 0.7783 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7112, allocations: 3.938 kB / 0.7783 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.7116, allocations: 334.3 kB / 0.7786 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7118, allocations: 156.3 kB / 0.7788 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.7118, allocations: 4 kB / 0.7788 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7121, allocations: 15.98 kB / 0.7788 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.7121, allocations: 19.86 kB / 0.7788 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.7121, allocations: 4 kB / 0.7788 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005396/0.7127, allocations: 0.499 MB / 0.7793 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7127, allocations: 0 / 0.7793 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004248/0.7131, allocations: 83.94 kB / 0.7794 GB, free: 4.273 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.0003016/0.7134, allocations: 134.1 kB / 0.7795 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.7137, allocations: 107.8 kB / 0.7796 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7138, allocations: 4 kB / 0.7796 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.7139, allocations: 59.83 kB / 0.7797 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7153, allocations: 279.6 kB / 0.7799 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.7168, allocations: 1.005 MB / 0.7809 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.7174, allocations: 0.9052 MB / 0.7818 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003388/0.7178, allocations: 102.7 kB / 0.7819 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.7178, allocations: 39.38 kB / 0.7819 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.7178, allocations: 0 / 0.7819 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.01546/0.7333, allocations: 8.033 MB / 0.7898 GB, free: 9.715 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)