Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 180.9 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5966/0.5966, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 86.61 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.613e-06/6.693e-06, allocations: 2.625 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7162/0.8186, allocations: 399.2 MB / 1.023 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.8189, allocations: 94.31 kB / 1.023 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.319/2.138, allocations: 0.5121 GB / 1.535 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002593/2.138, allocations: 64.47 kB / 1.535 GB, free: 100.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 459 * Number of variables: 459 Notification: Performance of Generate backend data structure: time 0.005177/2.143, allocations: 2.533 MB / 1.538 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/2.143, allocations: 6.906 kB / 1.538 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/2.145, allocations: 482.9 kB / 1.538 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/2.159, allocations: 5.617 MB / 1.544 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/2.159, allocations: 66.25 kB / 1.544 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/2.159, allocations: 119.2 kB / 1.544 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002385/2.162, allocations: 1.835 MB / 1.546 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/2.164, allocations: 2.001 MB / 1.548 GB, free: 98.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/2.164, allocations: 14.22 kB / 1.548 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/2.165, allocations: 0 / 1.548 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/2.165, allocations: 69.53 kB / 1.548 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009342/2.174, allocations: 8.81 MB / 1.556 GB, free: 95.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/2.177, allocations: 2.254 MB / 1.558 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/2.178, allocations: 1.134 MB / 1.56 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/2.178, allocations: 0.9997 MB / 1.561 GB, free: 94.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/2.179, allocations: 1.009 MB / 1.562 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=169): time 2.996e-06/2.179, allocations: 0 / 1.562 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=169): time 0.00291/2.182, allocations: 1.963 MB / 1.563 GB, free: 94.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/2.182, allocations: 124.2 kB / 1.564 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/2.184, allocations: 1.408 MB / 1.565 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/2.184, allocations: 25.7 kB / 1.565 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/2.184, allocations: 0.6462 MB / 1.566 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/2.185, allocations: 0.5755 MB / 1.566 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/2.185, allocations: 0 / 1.566 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/2.185, allocations: 376.5 kB / 1.567 GB, free: 93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/2.186, allocations: 0.7772 MB / 1.567 GB, free: 93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/2.187, allocations: 1.136 MB / 1.568 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/2.188, allocations: 1.067 MB / 1.569 GB, free: 92.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/2.188, allocations: 3.438 kB / 1.569 GB, free: 92.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003236/2.191, allocations: 2.397 MB / 1.572 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004223/2.192, allocations: 3.069 MB / 1.575 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/2.192, allocations: 7.281 kB / 1.575 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/2.192, allocations: 261.3 kB / 1.575 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/2.194, allocations: 458.9 kB / 1.575 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/2.197, allocations: 4.289 MB / 1.58 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/2.198, allocations: 225.3 kB / 1.58 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/2.199, allocations: 74.55 kB / 1.58 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/2.199, allocations: 4.406 kB / 1.58 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003493/2.202, allocations: 2.186 MB / 1.582 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/2.202, allocations: 10.47 kB / 1.582 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/2.203, allocations: 269.3 kB / 1.582 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/2.204, allocations: 451.3 kB / 1.583 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/2.207, allocations: 4.292 MB / 1.587 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/2.208, allocations: 207.9 kB / 1.587 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/2.209, allocations: 73.27 kB / 1.587 GB, free: 82.69 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 207 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/2.209, allocations: 150.5 kB / 1.587 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/2.209, allocations: 206.6 kB / 1.588 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/2.212, allocations: 2.273 MB / 1.59 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/2.212, allocations: 20.72 kB / 1.59 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/2.213, allocations: 3.812 kB / 1.59 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002364/2.215, allocations: 2.015 MB / 1.592 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/2.221, allocations: 4.602 MB / 1.596 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.221, allocations: 0 / 1.596 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/2.223, allocations: 380.2 kB / 1.597 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/2.223, allocations: 237.3 kB / 1.597 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/2.223, allocations: 34.39 kB / 1.597 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/2.226, allocations: 4.164 MB / 1.601 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.226, allocations: 2.656 kB / 1.601 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004001/2.23, allocations: 3.354 MB / 1.604 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/2.231, allocations: 0.507 MB / 1.605 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/2.231, allocations: 26.2 kB / 1.605 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/2.232, allocations: 134.7 kB / 1.605 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/2.233, allocations: 99.44 kB / 1.605 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/2.233, allocations: 58.47 kB / 1.605 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001125/2.234, allocations: 1.082 MB / 1.606 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003772/2.238, allocations: 1.359 MB / 1.607 GB, free: 77.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (pump.filter.s[1],pump.filter.s[2],embeddedPipe.vol[1].dynBal.U,firstOrder1.y,nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/2.239, allocations: 1.067 MB / 1.608 GB, free: 77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003934/2.243, allocations: 3.578 MB / 1.612 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.243, allocations: 0 / 1.612 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/2.244, allocations: 1.182 MB / 1.613 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/2.247, allocations: 0.6183 MB / 1.614 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/2.254, allocations: 5.069 MB / 1.619 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/2.255, allocations: 2.101 MB / 1.621 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/2.256, allocations: 0 / 1.621 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.06711/2.323, allocations: 51.24 MB / 1.671 GB, free: 72.05 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)