Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001377/0.001378, allocations: 98.77 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.001713/0.001713, allocations: 177.3 kB / 15.94 MB, free: 228 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.812/0.812, allocations: 89.64 MB / 380.6 MB, free: 11.42 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 12.09 kB / 460 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 68.83 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5307/0.6764, allocations: 180 MB / 0.6923 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.6998, allocations: 18.54 MB / 0.7104 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.7019, allocations: 27.81 kB / 0.7104 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.7038, allocations: 0.6376 MB / 0.711 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.7096, allocations: 1.792 MB / 0.7128 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.7151, allocations: 1.704 MB / 0.7144 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.7177, allocations: 1.339 MB / 0.7157 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.7183, allocations: 314.8 kB / 0.716 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.7207, allocations: 1.048 MB / 0.7171 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.7215, allocations: 0.6378 MB / 0.7177 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.7216, allocations: 68 kB / 0.7178 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008871/0.7305, allocations: 3.976 MB / 0.7216 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.731, allocations: 243 kB / 0.7219 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005658/0.7315, allocations: 289 kB / 0.7221 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.7361, allocations: 1.898 MB / 0.724 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7361, allocations: 4 kB / 0.724 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7361, allocations: 0 / 0.724 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.139e-05/0.7362, allocations: 0 / 0.724 GB, free: 5.465 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004921/0.7411, allocations: 1.876 MB / 0.7258 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.7412, allocations: 15.97 kB / 0.7259 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/0.7415, allocations: 189.8 kB / 0.726 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.7446, allocations: 394.6 kB / 0.7264 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.7461, allocations: 0.7195 MB / 0.7271 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.7465, allocations: 368 kB / 0.7275 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.7468, allocations: 127.9 kB / 0.7276 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.7498, allocations: 1.489 MB / 0.729 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.7498, allocations: 0 / 0.729 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.75, allocations: 55.95 kB / 0.7291 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.75, allocations: 28 kB / 0.7291 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.7528, allocations: 1.243 MB / 0.7303 GB, free: 14.76 MB / 0.545 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.008891/0.7617, allocations: 5.445 MB / 0.7357 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.7648, allocations: 1.381 MB / 0.737 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.7662, allocations: 1.798 MB / 0.7388 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.7663, allocations: 43.56 kB / 0.7388 GB, free: 5.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=113): time 3.276e-06/0.7663, allocations: 0 / 0.7388 GB, free: 5.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=113): time 0.009475/0.7758, allocations: 3.438 MB / 0.7422 GB, free: 1.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.7759, allocations: 64.36 kB / 0.7422 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.7768, allocations: 0.6808 MB / 0.7429 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.777, allocations: 45.7 kB / 0.7429 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.7774, allocations: 0.5235 MB / 0.7434 GB, free: 380 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.7777, allocations: 394.3 kB / 0.7438 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.7778, allocations: 20 kB / 0.7438 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.778, allocations: 341.9 kB / 0.7442 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.7792, allocations: 0.5374 MB / 0.7447 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.7805, allocations: 0.627 MB / 0.7453 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.7818, allocations: 0.5457 MB / 0.7458 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7818, allocations: 0 / 0.7458 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005571/0.7874, allocations: 2.119 MB / 0.7479 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7874, allocations: 8 kB / 0.7479 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.7874, allocations: 0 / 0.7479 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.7889, allocations: 487 kB / 0.7484 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.7905, allocations: 299.7 kB / 0.7487 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.8007, allocations: 7.385 MB / 0.7559 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.8023, allocations: 166.9 kB / 0.756 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.8026, allocations: 71.97 kB / 0.7561 GB, free: 2.809 MB / 0.5606 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 (112): * Single equations (assignments): 108 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000774/0.8033, allocations: 261.5 kB / 0.7563 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.8036, allocations: 98.78 kB / 0.7564 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007187/0.8108, allocations: 2.949 MB / 0.7593 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.8108, allocations: 15.95 kB / 0.7593 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8108, allocations: 0 / 0.7593 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.8109, allocations: 7.984 kB / 0.7593 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008003/0.8189, allocations: 3.749 MB / 0.763 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8189, allocations: 0 / 0.763 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.8205, allocations: 299.8 kB / 0.7633 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.8219, allocations: 494.9 kB / 0.7638 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.8221, allocations: 47.97 kB / 0.7638 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.8327, allocations: 7.391 MB / 0.771 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8327, allocations: 4.062 kB / 0.771 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006987/0.8397, allocations: 2.884 MB / 0.7738 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/0.8405, allocations: 303.3 kB / 0.7741 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.8407, allocations: 24 kB / 0.7742 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.8416, allocations: 107.9 kB / 0.7743 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.8418, allocations: 104.9 kB / 0.7744 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.842, allocations: 63.97 kB / 0.7744 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006771/0.8426, allocations: 487 kB / 0.7749 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8426, allocations: 0 / 0.7749 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001783/0.8444, allocations: 0.6003 MB / 0.7755 GB, free: 14.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(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.008816/0.8533, allocations: 4.4 MB / 0.7798 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004779/0.8581, allocations: 2.046 MB / 0.7818 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.8581, allocations: 0 / 0.7818 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.8613, allocations: 1.504 MB / 0.7832 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.8631, allocations: 250.9 kB / 0.7835 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.8804, allocations: 8.957 MB / 0.7922 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.8812, allocations: 1.148 MB / 0.7933 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002171/0.8833, allocations: 0.821 MB / 0.7941 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009952/0.8844, allocations: 0.5734 MB / 0.7947 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of SimCode: time 1.263e-06/0.8844, allocations: 0 / 0.7947 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/1.227, allocations: 33.84 MB / 0.8278 GB, free: 218 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.227, allocations: 264.4 kB / 0.828 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.447, allocations: 0 / 0.828 GB, free: 217.7 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat does not exist to compare? outputFormat=mat