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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.001455/0.001455, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.981/0.981, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.75 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1795, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4637/0.6432, allocations: 176 MB / 0.7562 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.655, allocations: 8.713 MB / 0.7647 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.6561, allocations: 27.81 kB / 0.7647 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.6572, allocations: 293.8 kB / 0.765 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.6584, allocations: 306.4 kB / 0.7653 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6598, allocations: 371.9 kB / 0.7657 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.6614, allocations: 1.15 MB / 0.7668 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.6624, allocations: 0.592 MB / 0.7674 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/0.6678, allocations: 2.051 MB / 0.7694 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.6686, allocations: 354.4 kB / 0.7697 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.6688, allocations: 40 kB / 0.7697 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.6693, allocations: 79.95 kB / 0.7698 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.6697, allocations: 263.3 kB / 0.7701 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.6703, allocations: 286.5 kB / 0.7703 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.6713, allocations: 0.619 MB / 0.771 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6713, allocations: 0 / 0.771 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6713, allocations: 0 / 0.771 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.6714, allocations: 3.984 kB / 0.771 GB, free: 13.81 MB / 0.5919 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.001357/0.6727, allocations: 0.8209 MB / 0.7718 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6728, allocations: 12.03 kB / 0.7718 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.673, allocations: 67.19 kB / 0.7718 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.6736, allocations: 418.2 kB / 0.7722 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.6736, allocations: 45.3 kB / 0.7723 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.6737, allocations: 52 kB / 0.7723 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6748, allocations: 0.7027 MB / 0.773 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.6749, allocations: 3.938 kB / 0.773 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.6749, allocations: 27.94 kB / 0.773 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.675, allocations: 23.98 kB / 0.7731 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.6756, allocations: 376 kB / 0.7734 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.6782, allocations: 3.239 MB / 0.7766 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.6785, allocations: 218.2 kB / 0.7768 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.6787, allocations: 140.5 kB / 0.7769 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6788, allocations: 8 kB / 0.7769 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.6788, allocations: 42.5 kB / 0.777 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.6788, allocations: 0 / 0.777 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007198/0.6795, allocations: 252.7 kB / 0.7772 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.6797, allocations: 291.8 kB / 0.7775 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/0.6805, allocations: 0.6878 MB / 0.7782 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6805, allocations: 25.7 kB / 0.7782 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.6807, allocations: 268.1 kB / 0.7784 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.6808, allocations: 31.55 kB / 0.7785 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.6808, allocations: 33.7 kB / 0.7785 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.681, allocations: 366.8 kB / 0.7789 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.6811, allocations: 43.89 kB / 0.7789 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.6813, allocations: 97.11 kB / 0.779 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.6816, allocations: 128.1 kB / 0.7791 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6816, allocations: 0 / 0.7791 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003684/0.6819, allocations: 188.8 kB / 0.7793 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.682, allocations: 16.12 kB / 0.7793 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.682, allocations: 0 / 0.7793 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.682, allocations: 4 kB / 0.7793 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.6822, allocations: 39.89 kB / 0.7794 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6822, allocations: 7.75 kB / 0.7794 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.6825, allocations: 51.36 kB / 0.7794 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.6825, allocations: 12 kB / 0.7794 GB, free: 4.551 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.000194/0.6827, allocations: 201.8 kB / 0.7796 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.6829, allocations: 63.19 kB / 0.7797 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.683, allocations: 60.33 kB / 0.7797 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.683, allocations: 4 kB / 0.7797 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.6831, allocations: 7.984 kB / 0.7797 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6831, allocations: 3.938 kB / 0.7797 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.6845, allocations: 1.297 MB / 0.781 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6845, allocations: 4 kB / 0.781 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.6847, allocations: 48.17 kB / 0.7811 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6847, allocations: 0 / 0.7811 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6847, allocations: 4.188 kB / 0.7811 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.6847, allocations: 4 kB / 0.7811 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6847, allocations: 11.88 kB / 0.7811 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.6852, allocations: 334.3 kB / 0.7814 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.6853, allocations: 156.3 kB / 0.7815 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.6854, allocations: 8 kB / 0.7816 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6856, allocations: 9.25 kB / 0.7816 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.6856, allocations: 15.92 kB / 0.7816 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.6856, allocations: 4 kB / 0.7816 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000543/0.6862, allocations: 0.4912 MB / 0.7821 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6862, allocations: 0 / 0.7821 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004013/0.6866, allocations: 83.94 kB / 0.7821 GB, free: 1.602 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.0002968/0.6869, allocations: 131 kB / 0.7823 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.6872, allocations: 112.1 kB / 0.7824 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6872, allocations: 4.062 kB / 0.7824 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.6874, allocations: 63.84 kB / 0.7824 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6887, allocations: 288.1 kB / 0.7827 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.6899, allocations: 0.8826 MB / 0.7836 GB, free: 104 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.6904, allocations: 0.905 MB / 0.7845 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6906, allocations: 104.6 kB / 0.7846 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.6907, allocations: 39.38 kB / 0.7846 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6907, allocations: 0 / 0.7846 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.01582/0.7065, allocations: 8.414 MB / 0.7928 GB, free: 6.77 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)