Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001001/0.001002, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.000831/0.0008311, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3445, allocations: 81.58 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1575/0.5021, allocations: 159.9 MB / 0.7393 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008613/0.5107, allocations: 8.087 MB / 0.7472 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004618/0.5112, allocations: 15.88 kB / 0.7472 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.5118, allocations: 218.3 kB / 0.7474 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.5124, allocations: 282.7 kB / 0.7476 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.5132, allocations: 305.8 kB / 0.7479 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.5144, allocations: 1.359 MB / 0.7493 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.515, allocations: 440.2 kB / 0.7497 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.5183, allocations: 1.482 MB / 0.7511 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.5187, allocations: 322.5 kB / 0.7514 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.5187, allocations: 20 kB / 0.7515 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.5189, allocations: 63.94 kB / 0.7515 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.5191, allocations: 227.4 kB / 0.7517 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.5192, allocations: 129.4 kB / 0.7519 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.5196, allocations: 462.9 kB / 0.7523 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5196, allocations: 0 / 0.7523 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5196, allocations: 0 / 0.7523 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5197, allocations: 0 / 0.7523 GB, free: 2.879 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.0008576/0.5205, allocations: 0.7211 MB / 0.753 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5206, allocations: 8.031 kB / 0.753 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.5207, allocations: 71.2 kB / 0.7531 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.5212, allocations: 398.4 kB / 0.7535 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.5212, allocations: 45.31 kB / 0.7535 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.5213, allocations: 55.98 kB / 0.7536 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/0.5223, allocations: 0.7027 MB / 0.7542 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5223, allocations: 3.984 kB / 0.7542 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.5223, allocations: 27.98 kB / 0.7543 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.5224, allocations: 31.92 kB / 0.7543 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.523, allocations: 387.3 kB / 0.7547 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.5253, allocations: 3.227 MB / 0.7578 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.5255, allocations: 226.1 kB / 0.758 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.5257, allocations: 136.5 kB / 0.7582 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5258, allocations: 3.938 kB / 0.7582 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5258, allocations: 46.5 kB / 0.7582 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5258, allocations: 0 / 0.7582 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006752/0.5265, allocations: 265.4 kB / 0.7585 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5266, allocations: 295.1 kB / 0.7588 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.5273, allocations: 0.6799 MB / 0.7594 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.5273, allocations: 25.7 kB / 0.7594 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.5275, allocations: 268.5 kB / 0.7597 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.5276, allocations: 39.53 kB / 0.7597 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.5276, allocations: 0 / 0.7597 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5277, allocations: 374.7 kB / 0.7601 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.5278, allocations: 47.95 kB / 0.7601 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.528, allocations: 93.11 kB / 0.7602 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5281, allocations: 59.89 kB / 0.7603 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5281, allocations: 0 / 0.7603 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003321/0.5285, allocations: 200.8 kB / 0.7605 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5285, allocations: 4 kB / 0.7605 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.5285, allocations: 4 kB / 0.7605 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5285, allocations: 0 / 0.7605 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.5288, allocations: 56.14 kB / 0.7605 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5288, allocations: 0 / 0.7605 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.529, allocations: 67.3 kB / 0.7606 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.529, allocations: 11.97 kB / 0.7606 GB, free: 9.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.5293, allocations: 209.7 kB / 0.7608 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.5295, allocations: 59.25 kB / 0.7609 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.5296, allocations: 60.31 kB / 0.7609 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5296, allocations: 4 kB / 0.7609 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5296, allocations: 4 kB / 0.7609 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5296, allocations: 0 / 0.7609 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5308, allocations: 1.304 MB / 0.7622 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5309, allocations: 0 / 0.7622 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.5311, allocations: 56.23 kB / 0.7623 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5311, allocations: 0 / 0.7623 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.5311, allocations: 8 kB / 0.7623 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5311, allocations: 7.953 kB / 0.7623 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5311, allocations: 8.125 kB / 0.7623 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.5315, allocations: 342.4 kB / 0.7626 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5316, allocations: 152.3 kB / 0.7628 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.5317, allocations: 4 kB / 0.7628 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.5319, allocations: 19.98 kB / 0.7628 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.5319, allocations: 19.88 kB / 0.7628 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.532, allocations: 4 kB / 0.7628 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005084/0.5325, allocations: 0.4912 MB / 0.7633 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 0 / 0.7633 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003687/0.5329, allocations: 79.94 kB / 0.7634 GB, free: 6.809 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002757/0.5331, allocations: 139.5 kB / 0.7635 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.5334, allocations: 111.8 kB / 0.7636 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5335, allocations: 4 kB / 0.7636 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5336, allocations: 68.77 kB / 0.7637 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5349, allocations: 274.5 kB / 0.7639 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5361, allocations: 0.9789 MB / 0.7649 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.5365, allocations: 0.8974 MB / 0.7658 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.5367, allocations: 104.6 kB / 0.7659 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.5368, allocations: 35.44 kB / 0.7659 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5368, allocations: 7.938 kB / 0.7659 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of Templates: time 0.01264/0.5495, allocations: 7.772 MB / 0.7735 GB, free: 12.5 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)