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.009385/0.009386, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.835/1.835, 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.0009827/0.0009826, allocations: 94.89 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.882/0.882, allocations: 90.58 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 19.97 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5114, allocations: 66.27 MB / 0.5387 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7152/1.227, allocations: 223.8 MB / 0.7572 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0489/1.276, allocations: 35.13 MB / 0.7916 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/1.279, allocations: 48.31 kB / 0.7916 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004893/1.284, allocations: 1.084 MB / 0.7927 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.296, allocations: 2.85 MB / 0.7954 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01843/1.314, allocations: 4.632 MB / 0.8 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006882/1.321, allocations: 2.1 MB / 0.802 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/1.323, allocations: 0.5768 MB / 0.8026 GB, free: 22.72 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/1.329, allocations: 1.681 MB / 0.8042 GB, free: 22.7 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/1.331, allocations: 0.9801 MB / 0.8052 GB, free: 22.7 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/1.332, allocations: 95.91 kB / 0.8053 GB, free: 22.7 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/1.354, allocations: 8.412 MB / 0.8135 GB, free: 22.64 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/1.355, allocations: 367.2 kB / 0.8138 GB, free: 22.64 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/1.356, allocations: 449.6 kB / 0.8143 GB, free: 22.61 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.368, allocations: 4.031 MB / 0.8182 GB, free: 21.16 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.368, allocations: 0 / 0.8182 GB, free: 21.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.665e-06/1.368, allocations: 0 / 0.8182 GB, free: 21.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.087e-05/1.368, allocations: 0 / 0.8182 GB, free: 21.16 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.00771/1.375, allocations: 3.079 MB / 0.8212 GB, free: 19.32 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.375, allocations: 8.469 kB / 0.8212 GB, free: 19.32 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006855/1.376, allocations: 277.7 kB / 0.8215 GB, free: 19.23 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/1.38, allocations: 0.515 MB / 0.822 GB, free: 19.01 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/1.383, allocations: 1.048 MB / 0.823 GB, free: 18.46 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004163/1.383, allocations: 422.5 kB / 0.8234 GB, free: 18.18 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/1.384, allocations: 202.9 kB / 0.8236 GB, free: 18.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/1.388, allocations: 2.246 MB / 0.8258 GB, free: 17.56 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/1.388, allocations: 3.031 kB / 0.8258 GB, free: 17.56 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.388, allocations: 80.28 kB / 0.8259 GB, free: 17.56 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/1.388, allocations: 68.88 kB / 0.8259 GB, free: 17.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/1.392, allocations: 1.867 MB / 0.8278 GB, free: 17.24 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/1.403, allocations: 8.468 MB / 0.836 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/1.407, allocations: 1.91 MB / 0.8379 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/1.409, allocations: 2.69 MB / 0.8405 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.409, allocations: 50.94 kB / 0.8406 GB, free: 8.203 MB / 0.573 GB Notification: Performance of pre-optimization done (n=179): time 4.027e-06/1.409, allocations: 0 / 0.8406 GB, free: 8.203 MB / 0.573 GB Notification: Performance of matching and sorting (n=181): time 0.01777/1.427, allocations: 7.413 MB / 0.8478 GB, free: 4.691 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.427, allocations: 79.55 kB / 0.8479 GB, free: 4.605 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.429, allocations: 0.8845 MB / 0.8488 GB, free: 3.918 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/1.429, allocations: 58.36 kB / 0.8488 GB, free: 3.879 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/1.429, allocations: 0.7798 MB / 0.8496 GB, free: 3.367 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/1.43, allocations: 0.6006 MB / 0.8502 GB, free: 2.852 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.43, allocations: 32.56 kB / 0.8502 GB, free: 2.844 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.43, allocations: 362.1 kB / 0.8505 GB, free: 2.508 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.432, allocations: 0.7429 MB / 0.8513 GB, free: 1.992 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/1.433, allocations: 0.886 MB / 0.8521 GB, free: 1.336 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.435, allocations: 0.7994 MB / 0.8529 GB, free: 0.832 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.435, allocations: 0 / 0.8529 GB, free: 0.832 MB / 0.573 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007039/1.442, allocations: 2.882 MB / 0.8557 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/1.442, allocations: 7.953 kB / 0.8557 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.442, allocations: 4.031 kB / 0.8557 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/1.444, allocations: 0.6206 MB / 0.8563 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.446, allocations: 416.8 kB / 0.8567 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.46, allocations: 9.769 MB / 0.8663 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.462, allocations: 152.1 kB / 0.8664 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/1.462, allocations: 131 kB / 0.8665 GB, free: 4.246 MB / 0.5886 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 (164): * Single equations (assignments): 156 * 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,(3,88.9%) 15,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000864/1.463, allocations: 348.1 kB / 0.8669 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.463, allocations: 159.9 kB / 0.867 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/1.472, allocations: 3.543 MB / 0.8705 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/1.472, allocations: 16 kB / 0.8705 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/1.472, allocations: 8 kB / 0.8705 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.472, allocations: 7.969 kB / 0.8705 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.483, allocations: 5.278 MB / 0.8757 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.483, allocations: 4 kB / 0.8757 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.485, allocations: 431.2 kB / 0.8761 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.487, allocations: 0.6231 MB / 0.8767 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/1.488, allocations: 82.88 kB / 0.8768 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.501, allocations: 9.774 MB / 0.8863 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.501, allocations: 4.422 kB / 0.8863 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009363/1.51, allocations: 4.072 MB / 0.8903 GB, free: 68 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/1.511, allocations: 213.2 kB / 0.8905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/1.511, allocations: 37.62 kB / 0.8905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.512, allocations: 161.3 kB / 0.8907 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/1.513, allocations: 170.8 kB / 0.8909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.513, allocations: 127.6 kB / 0.891 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007984/1.514, allocations: 0.597 MB / 0.8916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/1.514, allocations: 0 / 0.8916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004197/1.518, allocations: 1.352 MB / 0.8929 GB, free: 13.78 MB / 0.6198 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,flowResistanceB.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 (167): * Single equations (assignments): 159 * 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,(3,88.9%) 15,(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.01446/1.533, allocations: 6.843 MB / 0.8996 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006524/1.539, allocations: 2.986 MB / 0.9025 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.539, allocations: 0 / 0.9025 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/1.544, allocations: 2.173 MB / 0.9046 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.546, allocations: 383.1 kB / 0.905 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/1.571, allocations: 13.37 MB / 0.918 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.573, allocations: 1.474 MB / 0.9195 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002761/1.575, allocations: 0.5156 MB / 0.92 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.577, allocations: 0.9368 MB / 0.9209 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.577, allocations: 0 / 0.9209 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.694, allocations: 63.58 MB / 0.983 GB, free: 6.023 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.695, allocations: 281.8 kB / 0.9832 GB, free: 5.656 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.085/6.78, allocations: 0 / 0.9832 GB, free: 5.656 MB / 0.698 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