Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009052, allocations: 96.28 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01173/0.01173, allocations: 1.556 MB / 338.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6641/0.6641, allocations: 90.05 MB / 479.4 MB, free: 2.961 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.991e-05/5.995e-05, allocations: 8 kB / 0.5446 GB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1849, allocations: 69.36 MB / 0.6123 GB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.698/2.883, allocations: 0.7549 GB / 1.367 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/2.883, allocations: 78.25 kB / 1.367 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.351/4.235, allocations: 392.4 MB / 1.751 GB, free: 54.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/4.235, allocations: 0 / 1.751 GB, free: 54.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.243e-05/4.235, allocations: 23.98 kB / 1.751 GB, free: 54.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004743/4.239, allocations: 1.62 MB / 1.752 GB, free: 52.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/4.239, allocations: 19.92 kB / 1.752 GB, free: 52.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/4.24, allocations: 110.5 kB / 1.752 GB, free: 52.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/4.241, allocations: 210.7 kB / 1.752 GB, free: 52.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/4.242, allocations: 492.3 kB / 1.753 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/4.242, allocations: 188.1 kB / 1.753 GB, free: 51.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/4.242, allocations: 71.91 kB / 1.753 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/4.243, allocations: 0.6352 MB / 1.754 GB, free: 50.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/4.243, allocations: 3.938 kB / 1.754 GB, free: 50.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/4.243, allocations: 28 kB / 1.754 GB, free: 50.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/4.243, allocations: 16 kB / 1.754 GB, free: 50.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/4.244, allocations: 0.533 MB / 1.754 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/4.248, allocations: 2.773 MB / 1.757 GB, free: 47.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/4.249, allocations: 0.552 MB / 1.758 GB, free: 46.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/4.249, allocations: 302.5 kB / 1.758 GB, free: 46.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/4.25, allocations: 0.9783 MB / 1.759 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/4.25, allocations: 43.12 kB / 1.759 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=63): time 3.637e-06/4.25, allocations: 4 kB / 1.759 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63): time 0.00233/4.252, allocations: 0.9144 MB / 1.76 GB, free: 44.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/4.252, allocations: 59.97 kB / 1.76 GB, free: 43.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/4.253, allocations: 331.2 kB / 1.76 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/4.253, allocations: 37.7 kB / 1.76 GB, free: 43.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/4.253, allocations: 312.5 kB / 1.761 GB, free: 43.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/4.253, allocations: 220.8 kB / 1.761 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/4.253, allocations: 12 kB / 1.761 GB, free: 43.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001207/4.253, allocations: 362.8 kB / 1.761 GB, free: 42.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/4.254, allocations: 205.1 kB / 1.761 GB, free: 42.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/4.254, allocations: 217 kB / 1.762 GB, free: 42.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/4.254, allocations: 211.2 kB / 1.762 GB, free: 42.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/4.254, allocations: 4 kB / 1.762 GB, free: 42.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001942/4.256, allocations: 0.9261 MB / 1.763 GB, free: 41.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/4.256, allocations: 5.406 kB / 1.763 GB, free: 41.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/4.256, allocations: 0 / 1.763 GB, free: 41.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005064/4.257, allocations: 158.4 kB / 1.763 GB, free: 40.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/4.257, allocations: 139.8 kB / 1.763 GB, free: 40.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/4.261, allocations: 4.506 MB / 1.767 GB, free: 35.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/4.262, allocations: 79.62 kB / 1.767 GB, free: 35.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/4.262, allocations: 43.98 kB / 1.767 GB, free: 35.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/4.262, allocations: 134.2 kB / 1.768 GB, free: 35.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/4.262, allocations: 59.34 kB / 1.768 GB, free: 35.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/4.265, allocations: 1.333 MB / 1.769 GB, free: 34.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/4.265, allocations: 8 kB / 1.769 GB, free: 34.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/4.265, allocations: 7.953 kB / 1.769 GB, free: 34.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/4.265, allocations: 3.984 kB / 1.769 GB, free: 34.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/4.268, allocations: 1.918 MB / 1.771 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/4.268, allocations: 4 kB / 1.771 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/4.269, allocations: 139.8 kB / 1.771 GB, free: 32.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/4.269, allocations: 166.4 kB / 1.771 GB, free: 31.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/4.269, allocations: 31.97 kB / 1.771 GB, free: 31.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/4.273, allocations: 4.503 MB / 1.776 GB, free: 27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/4.273, allocations: 4 kB / 1.776 GB, free: 27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/4.275, allocations: 1.367 MB / 1.777 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/4.276, allocations: 132.3 kB / 1.777 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/4.276, allocations: 15.95 kB / 1.777 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/4.276, allocations: 63.91 kB / 1.777 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/4.276, allocations: 60.47 kB / 1.777 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/4.276, allocations: 39.98 kB / 1.777 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002782/4.277, allocations: 269.2 kB / 1.777 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.277, allocations: 0 / 1.777 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002023/4.279, allocations: 0.4912 MB / 1.778 GB, free: 24.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005076/4.284, allocations: 3.199 MB / 1.781 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002041/4.286, allocations: 1.127 MB / 1.782 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/4.286, allocations: 0 / 1.782 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/4.287, allocations: 0.885 MB / 1.783 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/4.288, allocations: 139.9 kB / 1.783 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/4.291, allocations: 1.392 MB / 1.784 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/4.292, allocations: 0.9376 MB / 1.785 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009899/4.293, allocations: 423.6 kB / 1.786 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/4.293, allocations: 315.3 kB / 1.786 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/4.293, allocations: 0 / 1.786 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5731/4.866, allocations: 37.75 MB / 1.823 GB, free: 107.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/4.867, allocations: 232.9 kB / 1.823 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.9/8.766, allocations: 5.812 kB / 1.823 GB, free: 107.3 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)