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.001088/0.001088, allocations: 104.6 kB / 16.41 MB, free: 6.508 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.00113/0.00113, allocations: 187 kB / 17.34 MB, free: 5.742 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8507/0.8507, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 62.95 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1659, allocations: 80.22 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.6173/0.7833, allocations: 176 MB / 0.8322 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.7935, allocations: 8.703 MB / 0.8407 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.7944, allocations: 24.78 kB / 0.8407 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.7953, allocations: 298.1 kB / 0.841 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007306/0.796, allocations: 310.1 kB / 0.8413 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.797, allocations: 373.3 kB / 0.8416 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.7982, allocations: 1.146 MB / 0.8428 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.7989, allocations: 0.597 MB / 0.8433 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.8039, allocations: 2.051 MB / 0.8454 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.8044, allocations: 352.6 kB / 0.8457 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.8045, allocations: 39.94 kB / 0.8457 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.8047, allocations: 88 kB / 0.8458 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.805, allocations: 258 kB / 0.8461 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.8053, allocations: 280.4 kB / 0.8463 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.806, allocations: 0.6446 MB / 0.847 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.806, allocations: 0 / 0.847 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.806, allocations: 0 / 0.847 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.806, allocations: 0 / 0.847 GB, free: 3.449 MB / 0.6075 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.001082/0.8071, allocations: 0.827 MB / 0.8478 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8071, allocations: 14.2 kB / 0.8478 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.8073, allocations: 67.94 kB / 0.8478 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.8079, allocations: 442 kB / 0.8483 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.808, allocations: 44.33 kB / 0.8483 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.808, allocations: 51.06 kB / 0.8484 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.809, allocations: 0.7153 MB / 0.849 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.8091, allocations: 0 / 0.849 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.8091, allocations: 35.69 kB / 0.8491 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.8092, allocations: 34.8 kB / 0.8491 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.8098, allocations: 369.1 kB / 0.8495 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.8123, allocations: 3.218 MB / 0.8526 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.8126, allocations: 220 kB / 0.8528 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.8128, allocations: 127.2 kB / 0.8529 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.8129, allocations: 8.578 kB / 0.853 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8129, allocations: 49.28 kB / 0.853 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.8129, allocations: 0 / 0.853 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006938/0.8136, allocations: 246.3 kB / 0.8532 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.8138, allocations: 289 kB / 0.8535 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.8145, allocations: 0.6876 MB / 0.8542 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.8146, allocations: 28.52 kB / 0.8542 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.8148, allocations: 271.3 kB / 0.8545 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.8148, allocations: 37.14 kB / 0.8545 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.8149, allocations: 23.78 kB / 0.8545 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8151, allocations: 372.1 kB / 0.8549 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.8152, allocations: 33.91 kB / 0.8549 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.8153, allocations: 103.3 kB / 0.855 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.8156, allocations: 123.1 kB / 0.8551 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8156, allocations: 2.625 kB / 0.8551 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003241/0.8159, allocations: 187.7 kB / 0.8553 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8159, allocations: 9.219 kB / 0.8553 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.816, allocations: 2.406 kB / 0.8553 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.816, allocations: 6.344 kB / 0.8553 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.8162, allocations: 40.17 kB / 0.8554 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.8162, allocations: 3.938 kB / 0.8554 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.8164, allocations: 63.36 kB / 0.8554 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.8165, allocations: 5.781 kB / 0.8554 GB, free: 12.22 MB / 0.6231 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.0002099/0.8167, allocations: 194.4 kB / 0.8556 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.8169, allocations: 69.86 kB / 0.8557 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.817, allocations: 60.73 kB / 0.8557 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.817, allocations: 3.125 kB / 0.8557 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.817, allocations: 2.969 kB / 0.8557 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.817, allocations: 2.375 kB / 0.8558 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8184, allocations: 1.308 MB / 0.857 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8184, allocations: 4.172 kB / 0.857 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.8186, allocations: 37.59 kB / 0.8571 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8186, allocations: 7.125 kB / 0.8571 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.8186, allocations: 10.72 kB / 0.8571 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8186, allocations: 6.172 kB / 0.8571 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8186, allocations: 10.75 kB / 0.8571 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.819, allocations: 331.4 kB / 0.8574 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.8192, allocations: 146.9 kB / 0.8576 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.8192, allocations: 5.438 kB / 0.8576 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.8194, allocations: 12.73 kB / 0.8576 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.8195, allocations: 25.19 kB / 0.8576 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.8195, allocations: 5.031 kB / 0.8576 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000513/0.82, allocations: 0.495 MB / 0.8581 GB, free: 10 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.82, allocations: 0 / 0.8581 GB, free: 10 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003882/0.8204, allocations: 85.19 kB / 0.8582 GB, free: 9.988 MB / 0.6231 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.0003326/0.8207, allocations: 133 kB / 0.8583 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.8211, allocations: 109.8 kB / 0.8584 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8211, allocations: 0 / 0.8584 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8212, allocations: 64.86 kB / 0.8585 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.8225, allocations: 281.1 kB / 0.8587 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.8238, allocations: 0.9222 MB / 0.8596 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.8243, allocations: 0.9025 MB / 0.8605 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.8243, allocations: 39.44 kB / 0.8606 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.8243, allocations: 0 / 0.8606 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of Templates: time 0.01172/0.8361, allocations: 7.797 MB / 0.8682 GB, free: 416 kB / 0.6231 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)