Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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_parallel,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",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.007598/0.007598, allocations: 169 kB / 15.13 MB, free: 6.023 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.422/1.422, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008422/0.0008419, allocations: 94.23 kB / 269.6 MB, free: 13.34 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.6898/0.6898, 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.0003029/0.0003031, allocations: 8 kB / 485.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3452, allocations: 66.27 MB / 0.5387 GB, free: 45.21 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6289/0.9742, allocations: 304.1 MB / 0.8357 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03585/1.01, allocations: 38.54 MB / 0.8733 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/1.014, allocations: 45.19 kB / 0.8734 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003824/1.017, allocations: 1.077 MB / 0.8744 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009145/1.027, allocations: 2.741 MB / 0.8771 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01346/1.04, allocations: 4.6 MB / 0.8816 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005655/1.046, allocations: 3.415 MB / 0.8849 GB, free: 16 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/1.047, allocations: 0.5791 MB / 0.8855 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005191/1.052, allocations: 1.873 MB / 0.8873 GB, free: 14.87 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/1.056, allocations: 1.12 MB / 0.8884 GB, free: 14.23 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006782/1.057, allocations: 100 kB / 0.8885 GB, free: 14.14 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02051/1.078, allocations: 9.788 MB / 0.8981 GB, free: 5.938 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009997/1.079, allocations: 382.4 kB / 0.8984 GB, free: 5.781 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/1.08, allocations: 439.3 kB / 0.8989 GB, free: 5.488 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009945/1.09, allocations: 4.178 MB / 0.9029 GB, free: 2.102 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.09, allocations: 0 / 0.9029 GB, free: 2.102 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.735e-06/1.09, allocations: 0 / 0.9029 GB, free: 2.102 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.234e-05/1.09, allocations: 0 / 0.9029 GB, free: 2.102 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.006752/1.097, allocations: 3.112 MB / 0.906 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.097, allocations: 12.03 kB / 0.906 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003184/1.097, allocations: 272.6 kB / 0.9062 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/1.101, allocations: 0.5188 MB / 0.9067 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/1.102, allocations: 1.066 MB / 0.9078 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/1.103, allocations: 415 kB / 0.9082 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/1.103, allocations: 204.1 kB / 0.9084 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/1.107, allocations: 2.255 MB / 0.9106 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/1.107, allocations: 0 / 0.9106 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/1.107, allocations: 76.44 kB / 0.9107 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.287e-05/1.107, allocations: 79.55 kB / 0.9107 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/1.111, allocations: 1.865 MB / 0.9126 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/1.123, allocations: 8.484 MB / 0.9208 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/1.127, allocations: 1.919 MB / 0.9227 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/1.129, allocations: 1.09 MB / 0.9238 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005875/1.135, allocations: 6.651 MB / 0.9303 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/1.135, allocations: 48.56 kB / 0.9303 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=179): time 5.33e-06/1.135, allocations: 0 / 0.9303 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of matching and sorting (n=181): time 0.0194/1.154, allocations: 7.315 MB / 0.9375 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.154, allocations: 85.33 kB / 0.9375 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.155, allocations: 0.8776 MB / 0.9384 GB, free: 276 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/1.156, allocations: 53.7 kB / 0.9385 GB, free: 216 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/1.156, allocations: 0.7766 MB / 0.9392 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/1.157, allocations: 0.6068 MB / 0.9398 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.157, allocations: 32 kB / 0.9398 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.157, allocations: 361.9 kB / 0.9402 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/1.158, allocations: 0.7496 MB / 0.9409 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.16, allocations: 0.8902 MB / 0.9418 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.162, allocations: 0.7986 MB / 0.9426 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.162, allocations: 4 kB / 0.9426 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006588/1.168, allocations: 2.9 MB / 0.9454 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.168, allocations: 4 kB / 0.9454 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.168, allocations: 5.25 kB / 0.9454 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/1.17, allocations: 0.6146 MB / 0.946 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.172, allocations: 411.5 kB / 0.9464 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.184, allocations: 9.703 MB / 0.9559 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.186, allocations: 156.1 kB / 0.956 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/1.186, allocations: 142.2 kB / 0.9562 GB, free: 13.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (163): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,88.9%) 1,(2,100.0%) 17,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.187, allocations: 341.4 kB / 0.9565 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.188, allocations: 154.1 kB / 0.9566 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/1.197, allocations: 3.552 MB / 0.9601 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.197, allocations: 23.94 kB / 0.9601 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.197, allocations: 7.953 kB / 0.9601 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.197, allocations: 11.95 kB / 0.9601 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.208, allocations: 5.396 MB / 0.9654 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.208, allocations: 4 kB / 0.9654 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.21, allocations: 427.5 kB / 0.9658 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/1.212, allocations: 0.618 MB / 0.9664 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/1.212, allocations: 83.94 kB / 0.9665 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.224, allocations: 9.688 MB / 0.976 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.224, allocations: 4.031 kB / 0.976 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009039/1.233, allocations: 4.043 MB / 0.9799 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.234, allocations: 219.1 kB / 0.9801 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/1.234, allocations: 32 kB / 0.9802 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.235, allocations: 161.6 kB / 0.9803 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/1.235, allocations: 161.8 kB / 0.9805 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/1.236, allocations: 135.9 kB / 0.9806 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007881/1.237, allocations: 0.5915 MB / 0.9812 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.237, allocations: 0 / 0.9812 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004178/1.241, allocations: 1.351 MB / 0.9825 GB, free: 1.645 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (166): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(2,100.0%) 17,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/1.253, allocations: 6.538 MB / 0.9889 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006339/1.26, allocations: 2.975 MB / 0.9918 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.26, allocations: 4 kB / 0.9918 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004087/1.264, allocations: 2.163 MB / 0.9939 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.266, allocations: 429.2 kB / 0.9943 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.29, allocations: 12.55 MB / 1.007 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/1.291, allocations: 1.424 MB / 1.008 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002686/1.293, allocations: 0.5188 MB / 1.008 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/1.295, allocations: 0.9288 MB / 1.009 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/1.295, allocations: 0 / 1.009 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.333/1.628, allocations: 63.95 MB / 1.072 GB, free: 272.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.628, allocations: 272.1 kB / 1.072 GB, free: 272 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.413/6.041, allocations: 0 / 1.072 GB, free: 272 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat does not exist to compare? outputFormat=mat