Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") [: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/Buildings 3.0.0/package.mo): time 0.8509/0.8509, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001407/0.001407, allocations: 167.2 kB / 171.6 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.692/1.692, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00202/0.00202, allocations: 120.4 kB / 444.5 MB, free: 9.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6097/0.6097, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.115/6.725, allocations: 2.429 GB / 3.095 GB, free: 215.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/6.725, allocations: 93.52 kB / 3.095 GB, free: 215.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 10.17/16.89, allocations: 2.441 GB / 5.536 GB, free: 56.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001792/16.9, allocations: 149.1 kB / 5.536 GB, free: 56.14 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1048 * Number of variables: 1048 Notification: Performance of Generate backend data structure: time 0.03073/16.93, allocations: 5.675 MB / 5.542 GB, free: 53.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/16.93, allocations: 9.625 kB / 5.542 GB, free: 53.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/16.94, allocations: 1.316 MB / 5.543 GB, free: 53.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02961/16.97, allocations: 7.799 MB / 5.551 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/16.97, allocations: 127.6 kB / 5.551 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/16.97, allocations: 268.7 kB / 5.551 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01653/16.99, allocations: 4.625 MB / 5.556 GB, free: 52.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/17.02, allocations: 5.153 MB / 5.561 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004233/17.02, allocations: 9.156 kB / 5.561 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/17.02, allocations: 10.22 kB / 5.561 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/17.02, allocations: 205 kB / 5.561 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05878/17.08, allocations: 24.52 MB / 5.585 GB, free: 35.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006955/17.09, allocations: 3.312 MB / 5.588 GB, free: 32.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003648/17.09, allocations: 1.899 MB / 5.59 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/17.09, allocations: 0.5665 MB / 5.591 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004325/17.09, allocations: 2.007 MB / 5.593 GB, free: 27.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=272): time 7.755e-06/17.09, allocations: 1.344 kB / 5.593 GB, free: 27.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=280): time 0.04014/17.13, allocations: 10.08 MB / 5.602 GB, free: 17.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/17.13, allocations: 0.5479 MB / 5.603 GB, free: 16.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/17.15, allocations: 3.701 MB / 5.607 GB, free: 13.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001493/17.15, allocations: 34.45 kB / 5.607 GB, free: 13.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00342/17.15, allocations: 1.585 MB / 5.608 GB, free: 11.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003133/17.15, allocations: 0.9353 MB / 5.609 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007952/17.15, allocations: 4 kB / 5.609 GB, free: 10.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000447/17.16, allocations: 424.1 kB / 5.609 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/17.16, allocations: 1.478 MB / 5.611 GB, free: 8.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/17.16, allocations: 2.371 MB / 5.613 GB, free: 5.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/17.17, allocations: 2.023 MB / 5.615 GB, free: 3.867 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/17.17, allocations: 4 kB / 5.615 GB, free: 3.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=379) (initialization): time 0.5151/17.68, allocations: 4.54 MB / 5.62 GB, free: 118.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001474/17.68, allocations: 6.025 MB / 5.625 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-05/17.68, allocations: 14.25 kB / 5.626 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/17.68, allocations: 207.7 kB / 5.626 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/17.69, allocations: 0.726 MB / 5.626 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/17.69, allocations: 3.205 MB / 5.63 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008789/17.7, allocations: 385.6 kB / 5.63 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/17.7, allocations: 129.3 kB / 5.63 GB, free: 110.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/17.7, allocations: 6.5 kB / 5.63 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01039/17.71, allocations: 3.879 MB / 5.634 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.368e-05/17.71, allocations: 14.06 kB / 5.634 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/17.71, allocations: 176.8 kB / 5.634 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/17.72, allocations: 0.6478 MB / 5.635 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/17.72, allocations: 3.587 MB / 5.638 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009191/17.73, allocations: 368.5 kB / 5.639 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/17.73, allocations: 115.8 kB / 5.639 GB, free: 107.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,x_pTphi.i_w,x_pTphi.i_nw,x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 345 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001758/17.73, allocations: 247.7 kB / 5.639 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/17.74, allocations: 449.6 kB / 5.639 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/17.75, allocations: 4.405 MB / 5.644 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/17.75, allocations: 32.66 kB / 5.644 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/17.75, allocations: 3.156 kB / 5.644 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006541/17.75, allocations: 3.707 MB / 5.647 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/17.78, allocations: 9.862 MB / 5.657 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/17.78, allocations: 3.969 kB / 5.657 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/17.78, allocations: 0.659 MB / 5.658 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/17.78, allocations: 327.7 kB / 5.658 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/17.78, allocations: 50.45 kB / 5.658 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/17.79, allocations: 7.248 MB / 5.665 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/17.79, allocations: 3.562 kB / 5.665 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/17.8, allocations: 6.938 MB / 5.672 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004646/17.81, allocations: 1.079 MB / 5.673 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/17.81, allocations: 28.95 kB / 5.673 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006909/17.82, allocations: 371 kB / 5.673 GB, free: 98.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/17.82, allocations: 156.5 kB / 5.673 GB, free: 98.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/17.82, allocations: 110.4 kB / 5.673 GB, free: 98.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.006668/17.83, allocations: 2.884 MB / 5.676 GB, free: 98.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01672/17.84, allocations: 2.598 MB / 5.679 GB, free: 98.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 23 (temSen.T,val.filter.x[1],val.filter.x[2],hex.temSen_1.T,hex.temSen_2.T,hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,1 3,1 3,1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006245/17.85, allocations: 3.35 MB / 5.682 GB, free: 97.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01492/17.86, allocations: 6.416 MB / 5.688 GB, free: 96.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-05/17.86, allocations: 5.062 kB / 5.688 GB, free: 96.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005376/17.87, allocations: 2.253 MB / 5.691 GB, free: 96.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01473/17.88, allocations: 2.553 MB / 5.693 GB, free: 96.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/17.92, allocations: 10.8 MB / 5.704 GB, free: 94.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01218/17.93, allocations: 4.499 MB / 5.708 GB, free: 93.72 MB / 0.698 GB Notification: Performance of SimCode: time 2.114e-06/17.93, allocations: 0 / 5.708 GB, free: 93.72 MB / 0.698 GB Notification: Performance of Templates: time 0.3017/18.23, allocations: 135.1 MB / 5.84 GB, free: 69.88 MB / 0.698 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)