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.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001389/0.001389, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9517/0.9517, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 72.38 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1871, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4752/0.6623, allocations: 173.6 MB / 0.7541 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.6733, allocations: 8.625 MB / 0.7625 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008971/0.6742, allocations: 15.88 kB / 0.7625 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.6753, allocations: 258.4 kB / 0.7627 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.6764, allocations: 286.7 kB / 0.763 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.6776, allocations: 336.8 kB / 0.7633 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.6791, allocations: 1.156 MB / 0.7645 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.6799, allocations: 0.5529 MB / 0.765 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.6849, allocations: 2.001 MB / 0.767 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.6856, allocations: 374.5 kB / 0.7673 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.6856, allocations: 40 kB / 0.7674 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.6859, allocations: 75.91 kB / 0.7674 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.6862, allocations: 259.3 kB / 0.7677 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.6866, allocations: 282.5 kB / 0.7679 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.6874, allocations: 0.6268 MB / 0.7686 GB, free: 92 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6874, allocations: 0 / 0.7686 GB, free: 92 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6874, allocations: 0 / 0.7686 GB, free: 92 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.6874, allocations: 0 / 0.7686 GB, free: 92 kB / 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.001273/0.6887, allocations: 0.8249 MB / 0.7694 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6887, allocations: 12.03 kB / 0.7694 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.6889, allocations: 67.19 kB / 0.7694 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.6895, allocations: 418.2 kB / 0.7698 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.6896, allocations: 37.31 kB / 0.7699 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.073e-05/0.6897, allocations: 55.98 kB / 0.7699 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.6908, allocations: 0.6988 MB / 0.7706 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6908, allocations: 0 / 0.7706 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.6908, allocations: 27.94 kB / 0.7706 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.6909, allocations: 31.92 kB / 0.7707 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.6916, allocations: 379.4 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.6943, allocations: 3.235 MB / 0.7742 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.6946, allocations: 218.1 kB / 0.7744 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.6948, allocations: 132.5 kB / 0.7745 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.6949, allocations: 7.984 kB / 0.7745 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.6949, allocations: 42.5 kB / 0.7746 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.6949, allocations: 0 / 0.7746 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006676/0.6956, allocations: 253.8 kB / 0.7748 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.6958, allocations: 298.7 kB / 0.7751 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.6965, allocations: 0.6839 MB / 0.7758 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.6966, allocations: 29.7 kB / 0.7758 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.6968, allocations: 264.2 kB / 0.776 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.6968, allocations: 35.55 kB / 0.7761 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.6969, allocations: 33.64 kB / 0.7761 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6971, allocations: 366.8 kB / 0.7765 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.6972, allocations: 39.95 kB / 0.7765 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6974, allocations: 93.11 kB / 0.7766 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.6976, allocations: 129.5 kB / 0.7767 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6976, allocations: 0 / 0.7767 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.698, allocations: 192.9 kB / 0.7769 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.698, allocations: 11.94 kB / 0.7769 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.698, allocations: 0 / 0.7769 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.698, allocations: 4 kB / 0.7769 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.6983, allocations: 43.58 kB / 0.777 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6983, allocations: 7.359 kB / 0.777 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.6985, allocations: 67.31 kB / 0.777 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.6985, allocations: 8 kB / 0.777 GB, free: 6.824 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.0002087/0.6987, allocations: 199.3 kB / 0.7772 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6989, allocations: 63.19 kB / 0.7773 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.699, allocations: 60.53 kB / 0.7773 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6991, allocations: 4 kB / 0.7773 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6991, allocations: 7.938 kB / 0.7774 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6991, allocations: 4 kB / 0.7774 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.7005, allocations: 1.301 MB / 0.7786 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.7005, allocations: 8.031 kB / 0.7786 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.7007, allocations: 43.95 kB / 0.7787 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7007, allocations: 0 / 0.7787 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7007, allocations: 4 kB / 0.7787 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.7007, allocations: 4 kB / 0.7787 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7007, allocations: 7.938 kB / 0.7787 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.7011, allocations: 334.4 kB / 0.779 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.7013, allocations: 148.3 kB / 0.7792 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.7014, allocations: 4 kB / 0.7792 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.7016, allocations: 20.27 kB / 0.7792 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.7016, allocations: 19.86 kB / 0.7792 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.7016, allocations: 4 kB / 0.7792 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000555/0.7022, allocations: 0.4989 MB / 0.7797 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7022, allocations: 0 / 0.7797 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003623/0.7026, allocations: 83.94 kB / 0.7798 GB, free: 3.867 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.0002905/0.7029, allocations: 126.8 kB / 0.7799 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.7032, allocations: 111.8 kB / 0.78 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7032, allocations: 0 / 0.78 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7033, allocations: 64.77 kB / 0.7801 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.7046, allocations: 286.4 kB / 0.7803 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.706, allocations: 1.021 MB / 0.7813 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.7065, allocations: 0.9011 MB / 0.7822 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.7067, allocations: 108.6 kB / 0.7823 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.7068, allocations: 35.44 kB / 0.7823 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.7068, allocations: 4 kB / 0.7823 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of Templates: time 0.01608/0.7229, allocations: 8.321 MB / 0.7905 GB, free: 9.02 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)