Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005474/0.005478, allocations: 167 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 221.3 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008233, allocations: 90.25 kB / 269.6 MB, free: 13.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7159/0.7159, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003632, allocations: 8 kB / 485.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3715, allocations: 66.28 MB / 0.5387 GB, free: 45.18 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.204/0.5755, allocations: 192.5 MB / 0.7267 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.5925, allocations: 15.06 MB / 0.7414 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.5935, allocations: 19.88 kB / 0.7414 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.5946, allocations: 369.9 kB / 0.7418 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.5992, allocations: 1.061 MB / 0.7428 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007777/0.6071, allocations: 1.806 MB / 0.7446 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.6097, allocations: 1.144 MB / 0.7457 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005622/0.6103, allocations: 195.7 kB / 0.7459 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.6133, allocations: 0.8685 MB / 0.7467 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.614, allocations: 382.2 kB / 0.7471 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.6141, allocations: 36 kB / 0.7471 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.6248, allocations: 3.899 MB / 0.7509 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.6251, allocations: 123.4 kB / 0.751 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.6256, allocations: 169.3 kB / 0.7512 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.6295, allocations: 1.598 MB / 0.7528 GB, free: 136 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6295, allocations: 0 / 0.7528 GB, free: 136 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6296, allocations: 4 kB / 0.7528 GB, free: 132 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.722e-05/0.6296, allocations: 0 / 0.7528 GB, free: 132 kB / 0.5573 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.2753/0.9049, allocations: 1.321 MB / 0.7541 GB, free: 184.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.905, allocations: 12.44 kB / 0.7541 GB, free: 184.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.9051, allocations: 112.9 kB / 0.7542 GB, free: 184.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.9064, allocations: 202.7 kB / 0.7544 GB, free: 184.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.907, allocations: 467.2 kB / 0.7548 GB, free: 184.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.9072, allocations: 192.3 kB / 0.755 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.9073, allocations: 63 kB / 0.7551 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.9087, allocations: 0.7285 MB / 0.7558 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.9087, allocations: 0.5 kB / 0.7558 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.9088, allocations: 24.19 kB / 0.7558 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.9088, allocations: 20.19 kB / 0.7558 GB, free: 184 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.9101, allocations: 0.6483 MB / 0.7564 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.9131, allocations: 2.801 MB / 0.7592 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.9144, allocations: 0.6606 MB / 0.7598 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.9151, allocations: 378.7 kB / 0.7602 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.9165, allocations: 2.159 MB / 0.7623 GB, free: 180.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.9165, allocations: 38.19 kB / 0.7623 GB, free: 180.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 3.357e-06/0.9165, allocations: 0.6094 kB / 0.7623 GB, free: 180.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=63): time 0.004826/0.9214, allocations: 1.968 MB / 0.7643 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.9214, allocations: 60.34 kB / 0.7643 GB, free: 179.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.9217, allocations: 386 kB / 0.7647 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.9218, allocations: 32.33 kB / 0.7647 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.922, allocations: 312.5 kB / 0.765 GB, free: 179.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.9222, allocations: 219.4 kB / 0.7652 GB, free: 179.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.9222, allocations: 10.59 kB / 0.7652 GB, free: 179.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9223, allocations: 369.2 kB / 0.7656 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.923, allocations: 295.6 kB / 0.7659 GB, free: 179 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.9237, allocations: 295.8 kB / 0.7661 GB, free: 179 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.9244, allocations: 296.3 kB / 0.7664 GB, free: 179 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9244, allocations: 3.375 kB / 0.7664 GB, free: 179 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002627/0.927, allocations: 1.131 MB / 0.7675 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9271, allocations: 8.281 kB / 0.7675 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9271, allocations: 0 / 0.7675 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007534/0.9278, allocations: 266.7 kB / 0.7678 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.9285, allocations: 142.7 kB / 0.7679 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.9329, allocations: 4.897 MB / 0.7727 GB, free: 174.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.9335, allocations: 84.94 kB / 0.7728 GB, free: 174.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.9336, allocations: 44.31 kB / 0.7728 GB, free: 174.4 MB / 0.5573 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 () * Number of clocked 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.0002614/0.9338, allocations: 190.9 kB / 0.773 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.9339, allocations: 57.42 kB / 0.7731 GB, free: 174.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.9373, allocations: 1.337 MB / 0.7744 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.9373, allocations: 6.875 kB / 0.7744 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9374, allocations: 1.844 kB / 0.7744 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9374, allocations: 3.375 kB / 0.7744 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.9414, allocations: 2.135 MB / 0.7765 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9414, allocations: 3.125 kB / 0.7765 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/0.9422, allocations: 157.4 kB / 0.7766 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007163/0.9429, allocations: 265.6 kB / 0.7769 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.943, allocations: 30.92 kB / 0.7769 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/0.9477, allocations: 4.898 MB / 0.7817 GB, free: 168.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9477, allocations: 5.656 kB / 0.7817 GB, free: 168.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.9516, allocations: 1.6 MB / 0.7833 GB, free: 167.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.9518, allocations: 135.9 kB / 0.7834 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.9519, allocations: 16.44 kB / 0.7834 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.9524, allocations: 59.92 kB / 0.7835 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.9525, allocations: 59.47 kB / 0.7835 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.9526, allocations: 44.83 kB / 0.7836 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000316/0.953, allocations: 268.3 kB / 0.7838 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.953, allocations: 0 / 0.7838 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002036/0.955, allocations: 0.5517 MB / 0.7844 GB, free: 167.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (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.005773/0.9608, allocations: 2.88 MB / 0.7872 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.9634, allocations: 1.262 MB / 0.7884 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9634, allocations: 0 / 0.7884 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.9652, allocations: 0.9547 MB / 0.7893 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.9662, allocations: 151.2 kB / 0.7895 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/0.9745, allocations: 4.63 MB / 0.794 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.975, allocations: 0.9261 MB / 0.7949 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008824/0.9759, allocations: 166.9 kB / 0.7951 GB, free: 162 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.9764, allocations: 313.2 kB / 0.7954 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.9764, allocations: 0 / 0.7954 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/1.021, allocations: 25.07 MB / 0.8198 GB, free: 146 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.021, allocations: 288.5 kB / 0.8201 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.78, allocations: 0 / 0.8201 GB, free: 145.6 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat