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.008557/0.008557, allocations: 101.1 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.001716/0.001716, allocations: 190.4 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.84 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4742, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1963/0.6706, allocations: 176 MB / 0.8365 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009987/0.6806, allocations: 8.706 MB / 0.845 GB, free: 8.328 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.6813, allocations: 19.88 kB / 0.845 GB, free: 8.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008567/0.6822, allocations: 313.7 kB / 0.8453 GB, free: 8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000777/0.683, allocations: 314.4 kB / 0.8456 GB, free: 7.691 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.684, allocations: 385.7 kB / 0.846 GB, free: 7.316 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.6852, allocations: 1.152 MB / 0.8471 GB, free: 6.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/0.686, allocations: 0.5939 MB / 0.8477 GB, free: 5.562 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.6908, allocations: 2.129 MB / 0.8498 GB, free: 3.426 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.6912, allocations: 354.4 kB / 0.8501 GB, free: 3.078 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.6913, allocations: 40 kB / 0.8502 GB, free: 3.039 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.6915, allocations: 83.89 kB / 0.8502 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.6918, allocations: 251.4 kB / 0.8505 GB, free: 2.711 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.6921, allocations: 286.5 kB / 0.8507 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.6928, allocations: 0.65 MB / 0.8514 GB, free: 1.777 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6928, allocations: 0 / 0.8514 GB, free: 1.777 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6928, allocations: 0 / 0.8514 GB, free: 1.777 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6928, allocations: 0 / 0.8514 GB, free: 1.777 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.00102/0.6939, allocations: 0.8223 MB / 0.8522 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6939, allocations: 12.03 kB / 0.8522 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.694, allocations: 67.19 kB / 0.8523 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.6947, allocations: 446.1 kB / 0.8527 GB, free: 356 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.6947, allocations: 37.3 kB / 0.8527 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.6948, allocations: 52 kB / 0.8528 GB, free: 268 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.6958, allocations: 0.7027 MB / 0.8535 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6958, allocations: 4 kB / 0.8535 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.6959, allocations: 23.98 kB / 0.8535 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.6959, allocations: 39.92 kB / 0.8535 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.6966, allocations: 375.4 kB / 0.8539 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.6992, allocations: 3.211 MB / 0.857 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.6995, allocations: 210.1 kB / 0.8572 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.6997, allocations: 128.6 kB / 0.8573 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.6997, allocations: 11.88 kB / 0.8573 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.6998, allocations: 54.48 kB / 0.8574 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.6998, allocations: 0 / 0.8574 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0007306/0.7005, allocations: 249.6 kB / 0.8576 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.7007, allocations: 290.7 kB / 0.8579 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.7014, allocations: 0.6838 MB / 0.8586 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.7015, allocations: 33.7 kB / 0.8586 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.7017, allocations: 264.4 kB / 0.8589 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.7017, allocations: 35.88 kB / 0.8589 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.7018, allocations: 33.7 kB / 0.8589 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.702, allocations: 370.8 kB / 0.8593 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.7021, allocations: 35.91 kB / 0.8593 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.7023, allocations: 97.05 kB / 0.8594 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.7026, allocations: 133 kB / 0.8595 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7026, allocations: 0 / 0.8595 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003447/0.7029, allocations: 196.7 kB / 0.8597 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.703, allocations: 5.875 kB / 0.8597 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.703, allocations: 4 kB / 0.8597 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.703, allocations: 0 / 0.8597 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.7032, allocations: 44.14 kB / 0.8598 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7033, allocations: 0 / 0.8598 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.7035, allocations: 63.34 kB / 0.8598 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.7035, allocations: 4 kB / 0.8598 GB, free: 8.504 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.0002162/0.7037, allocations: 205.7 kB / 0.86 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7039, allocations: 67.19 kB / 0.8601 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.704, allocations: 60.31 kB / 0.8602 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7041, allocations: 8 kB / 0.8602 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7041, allocations: 0 / 0.8602 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.7041, allocations: 4 kB / 0.8602 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.7055, allocations: 1.297 MB / 0.8614 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7055, allocations: 0 / 0.8614 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.7057, allocations: 43.89 kB / 0.8615 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.7058, allocations: 4 kB / 0.8615 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7058, allocations: 8 kB / 0.8615 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.7058, allocations: 8.219 kB / 0.8615 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7058, allocations: 4 kB / 0.8615 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.7063, allocations: 334.4 kB / 0.8618 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.7065, allocations: 152.3 kB / 0.862 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.7066, allocations: 4 kB / 0.862 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.7068, allocations: 15.92 kB / 0.862 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.7069, allocations: 15.98 kB / 0.862 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.7069, allocations: 4 kB / 0.862 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006499/0.7075, allocations: 0.4951 MB / 0.8625 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7075, allocations: 288 / 0.8625 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005003/0.7081, allocations: 79.91 kB / 0.8626 GB, free: 5.555 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.0004391/0.7085, allocations: 155.7 kB / 0.8627 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.7089, allocations: 107.8 kB / 0.8628 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7089, allocations: 0 / 0.8628 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.7091, allocations: 64.77 kB / 0.8629 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.7105, allocations: 286.2 kB / 0.8632 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.7122, allocations: 0.8609 MB / 0.864 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.7128, allocations: 0.9049 MB / 0.8649 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003001/0.7131, allocations: 108.6 kB / 0.865 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.7132, allocations: 35.44 kB / 0.865 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of SimCode: time 4.2e-07/0.7132, allocations: 7.938 kB / 0.865 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of Templates: time 0.3664/1.08, allocations: 8.441 MB / 0.8733 GB, free: 193.1 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)