Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.006509/0.006509, allocations: 168.8 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.439/1.439, 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.0009789/0.0009789, allocations: 86.31 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.6839/0.6839, allocations: 90.6 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.0003181/0.0003181, allocations: 8 kB / 485.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3763, allocations: 66.27 MB / 0.5387 GB, free: 45.11 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.2178/0.5942, allocations: 205.7 MB / 0.7395 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3631/0.9574, allocations: 17.38 MB / 0.7565 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.9586, allocations: 21.53 kB / 0.7565 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.96, allocations: 455.6 kB / 0.757 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.9647, allocations: 1.403 MB / 0.7583 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007343/0.972, allocations: 2.221 MB / 0.7605 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.9744, allocations: 1.481 MB / 0.7619 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.9748, allocations: 229 kB / 0.7622 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.9765, allocations: 0.9546 MB / 0.7631 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.977, allocations: 494.3 kB / 0.7636 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.9771, allocations: 43.25 kB / 0.7636 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.988, allocations: 4.965 MB / 0.7685 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.9884, allocations: 163.3 kB / 0.7686 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.9894, allocations: 207 kB / 0.7688 GB, free: 22.71 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.9948, allocations: 1.978 MB / 0.7707 GB, free: 22.57 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.9948, allocations: 0 / 0.7707 GB, free: 22.57 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9948, allocations: 0.6562 kB / 0.7707 GB, free: 22.57 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.9949, allocations: 0 / 0.7707 GB, free: 22.57 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004811/0.9997, allocations: 1.602 MB / 0.7723 GB, free: 21.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.918e-05/0.9998, allocations: 9.75 kB / 0.7723 GB, free: 21.68 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/1, allocations: 136.5 kB / 0.7724 GB, free: 21.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.002, allocations: 241.3 kB / 0.7727 GB, free: 21.58 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.003, allocations: 0.5614 MB / 0.7732 GB, free: 21.31 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/1.003, allocations: 196.4 kB / 0.7734 GB, free: 21.18 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/1.004, allocations: 85.72 kB / 0.7735 GB, free: 21.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/1.006, allocations: 0.9864 MB / 0.7745 GB, free: 21.08 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.006, allocations: 0.8125 kB / 0.7745 GB, free: 21.08 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/1.006, allocations: 35.91 kB / 0.7745 GB, free: 21.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/1.006, allocations: 20.72 kB / 0.7745 GB, free: 21.08 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.008, allocations: 0.7832 MB / 0.7753 GB, free: 21.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/1.012, allocations: 3.684 MB / 0.7789 GB, free: 19.08 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/1.015, allocations: 0.9336 MB / 0.7798 GB, free: 19.04 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009265/1.015, allocations: 457.2 kB / 0.7802 GB, free: 19.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003145/1.019, allocations: 3.105 MB / 0.7833 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.019, allocations: 46.66 kB / 0.7833 GB, free: 15.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 2.805e-06/1.019, allocations: 2.375 kB / 0.7833 GB, free: 15.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.006183/1.025, allocations: 2.21 MB / 0.7855 GB, free: 15.45 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/1.025, allocations: 59.72 kB / 0.7855 GB, free: 15.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/1.026, allocations: 491.6 kB / 0.786 GB, free: 15.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/1.026, allocations: 40.05 kB / 0.786 GB, free: 15.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/1.026, allocations: 382.9 kB / 0.7864 GB, free: 15.06 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/1.026, allocations: 289.4 kB / 0.7867 GB, free: 14.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/1.026, allocations: 17.06 kB / 0.7867 GB, free: 14.87 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.027, allocations: 386.5 kB / 0.787 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/1.027, allocations: 348.9 kB / 0.7874 GB, free: 14.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/1.028, allocations: 425.4 kB / 0.7878 GB, free: 14.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/1.029, allocations: 364.3 kB / 0.7881 GB, free: 14.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.029, allocations: 2.781 kB / 0.7881 GB, free: 14.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003565/1.033, allocations: 1.347 MB / 0.7895 GB, free: 14.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.033, allocations: 9.344 kB / 0.7895 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.033, allocations: 0.9688 kB / 0.7895 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009011/1.034, allocations: 277.3 kB / 0.7897 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/1.035, allocations: 202.8 kB / 0.7899 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/1.04, allocations: 5.021 MB / 0.7948 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/1.041, allocations: 98.44 kB / 0.7949 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.042, allocations: 64.78 kB / 0.795 GB, free: 10.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 75 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004873/1.042, allocations: 213.4 kB / 0.7952 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.042, allocations: 75.33 kB / 0.7953 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/1.046, allocations: 1.637 MB / 0.7969 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.046, allocations: 7.969 kB / 0.7969 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.046, allocations: 8.281 kB / 0.7969 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.046, allocations: 2.812 kB / 0.7969 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/1.052, allocations: 2.529 MB / 0.7993 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.052, allocations: 3.5 kB / 0.7993 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/1.053, allocations: 200.1 kB / 0.7995 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/1.053, allocations: 284.8 kB / 0.7998 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/1.053, allocations: 39.89 kB / 0.7998 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/1.059, allocations: 5.019 MB / 0.8047 GB, free: 5.789 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.059, allocations: 7.516 kB / 0.8048 GB, free: 5.785 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/1.063, allocations: 1.889 MB / 0.8066 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/1.064, allocations: 158.2 kB / 0.8067 GB, free: 5.359 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.064, allocations: 21.73 kB / 0.8068 GB, free: 5.359 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/1.064, allocations: 67.28 kB / 0.8068 GB, free: 5.352 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.065, allocations: 81.59 kB / 0.8069 GB, free: 5.348 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.065, allocations: 62.7 kB / 0.807 GB, free: 5.348 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004647/1.065, allocations: 337.1 kB / 0.8073 GB, free: 5.266 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.065, allocations: 0 / 0.8073 GB, free: 5.266 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002835/1.068, allocations: 0.6897 MB / 0.808 GB, free: 5.164 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (81): * Single equations (assignments): 76 * 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 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007317/1.075, allocations: 3.36 MB / 0.8112 GB, free: 4.168 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003058/1.078, allocations: 1.437 MB / 0.8126 GB, free: 3.719 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.078, allocations: 3.375 kB / 0.8127 GB, free: 3.719 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/1.08, allocations: 1.063 MB / 0.8137 GB, free: 3.293 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.082, allocations: 200.1 kB / 0.8139 GB, free: 3.281 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.092, allocations: 5.864 MB / 0.8196 GB, free: 1.008 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/1.093, allocations: 1.001 MB / 0.8206 GB, free: 188 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001161/1.094, allocations: 242.5 kB / 0.8208 GB, free: 88 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/1.094, allocations: 395.9 kB / 0.8212 GB, free: 32 kB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/1.094, allocations: 0 / 0.8212 GB, free: 32 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05388/1.148, allocations: 30.82 MB / 0.8513 GB, free: 6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/1.149, allocations: 271.8 kB / 0.8516 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.13, allocations: 64 / 0.8516 GB, free: 5.645 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat does not exist to compare? outputFormat=mat