Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001401, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001911, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7929/0.7929, allocations: 89.65 MB / 380.6 MB, free: 11.41 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003793, allocations: 13.22 kB / 460 MB, free: 24.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 68.82 MB / 0.5165 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.6065/0.787, allocations: 167.1 MB / 0.6796 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.8054, allocations: 14.49 MB / 0.6938 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.8069, allocations: 19.88 kB / 0.6938 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.8087, allocations: 0.4976 MB / 0.6943 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.8145, allocations: 1.515 MB / 0.6958 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.8187, allocations: 1.299 MB / 0.697 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.8211, allocations: 1.022 MB / 0.698 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.8217, allocations: 238.3 kB / 0.6982 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.8238, allocations: 0.8844 MB / 0.6991 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.8244, allocations: 493.7 kB / 0.6996 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.8245, allocations: 44 kB / 0.6996 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007072/0.8316, allocations: 3.332 MB / 0.7029 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.8319, allocations: 175.2 kB / 0.703 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.8323, allocations: 225.1 kB / 0.7033 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.8354, allocations: 1.48 MB / 0.7047 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8354, allocations: 0 / 0.7047 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8354, allocations: 0 / 0.7047 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.8354, allocations: 0 / 0.7047 GB, free: 9.316 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003194/0.8386, allocations: 1.481 MB / 0.7062 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8387, allocations: 12.03 kB / 0.7062 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.8389, allocations: 135.6 kB / 0.7063 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.8409, allocations: 274.3 kB / 0.7066 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.842, allocations: 0.6024 MB / 0.7071 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.8423, allocations: 204.7 kB / 0.7073 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.8425, allocations: 95.91 kB / 0.7074 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.8445, allocations: 1.02 MB / 0.7084 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.8445, allocations: 4 kB / 0.7084 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.8446, allocations: 36 kB / 0.7085 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.8446, allocations: 23.94 kB / 0.7085 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.8463, allocations: 0.8158 MB / 0.7093 GB, free: 4.473 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.8518, allocations: 4.095 MB / 0.7133 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.8539, allocations: 0.9133 MB / 0.7142 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009269/0.8548, allocations: 1.299 MB / 0.7154 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8549, allocations: 43.22 kB / 0.7155 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 2.534e-06/0.8549, allocations: 3.938 kB / 0.7155 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.005526/0.8604, allocations: 2.117 MB / 0.7176 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.8605, allocations: 68.02 kB / 0.7176 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.8613, allocations: 0.6022 MB / 0.7182 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.8614, allocations: 37.7 kB / 0.7182 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.8617, allocations: 432 kB / 0.7187 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.862, allocations: 272 kB / 0.7189 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.862, allocations: 16 kB / 0.7189 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8622, allocations: 337.9 kB / 0.7193 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.8629, allocations: 341.8 kB / 0.7196 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.8638, allocations: 403.1 kB / 0.72 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/0.8646, allocations: 362.9 kB / 0.7203 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8646, allocations: 0 / 0.7203 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003328/0.8679, allocations: 1.33 MB / 0.7216 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.868, allocations: 4.062 kB / 0.7216 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.868, allocations: 8.875 kB / 0.7216 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009276/0.8689, allocations: 278.4 kB / 0.7219 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.8699, allocations: 205.8 kB / 0.7221 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.8761, allocations: 5.123 MB / 0.7271 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009808/0.8772, allocations: 115.2 kB / 0.7272 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.8773, allocations: 51.98 kB / 0.7272 GB, free: 0.8633 MB / 0.5294 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004943/0.8778, allocations: 209.7 kB / 0.7274 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.878, allocations: 78.97 kB / 0.7275 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.8827, allocations: 1.931 MB / 0.7294 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.8827, allocations: 12.31 kB / 0.7294 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.8827, allocations: 0 / 0.7294 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8828, allocations: 3.984 kB / 0.7294 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.8879, allocations: 2.549 MB / 0.7319 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8879, allocations: 0 / 0.7319 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.889, allocations: 199.9 kB / 0.7321 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009294/0.89, allocations: 282.3 kB / 0.7324 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.8901, allocations: 35.97 kB / 0.7324 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006437/0.8965, allocations: 5.127 MB / 0.7374 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8965, allocations: 3.938 kB / 0.7374 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.9007, allocations: 1.874 MB / 0.7392 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.9011, allocations: 243.8 kB / 0.7395 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.9013, allocations: 16 kB / 0.7395 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.9019, allocations: 60.45 kB / 0.7396 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.902, allocations: 84.45 kB / 0.7396 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-05/0.9021, allocations: 51.97 kB / 0.7397 GB, free: 3.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005621/0.9027, allocations: 439 kB / 0.7401 GB, free: 3.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9027, allocations: 0 / 0.7401 GB, free: 3.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001438/0.9041, allocations: 475 kB / 0.7406 GB, free: 2.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005337/0.9095, allocations: 3.269 MB / 0.7437 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.9122, allocations: 1.322 MB / 0.745 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9122, allocations: 128 / 0.745 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.9139, allocations: 0.9682 MB / 0.746 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.915, allocations: 212.2 kB / 0.7462 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.9256, allocations: 6.742 MB / 0.7528 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.9262, allocations: 1.033 MB / 0.7538 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001563/0.9278, allocations: 0.6104 MB / 0.7544 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.9285, allocations: 439.2 kB / 0.7548 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.9285, allocations: 0 / 0.7548 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/0.9776, allocations: 26.61 MB / 0.7808 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.9779, allocations: 255.6 kB / 0.781 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.687, allocations: 0 / 0.781 GB, free: 8.992 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat does not exist to compare? outputFormat=mat