Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.001023/0.001023, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 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.488/1.488, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7542/0.7542, allocations: 89.65 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 12.28 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1476, allocations: 68.84 MB / 0.5166 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5432/0.6909, allocations: 184.1 MB / 0.6963 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.7075, allocations: 13.88 MB / 0.7099 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.7086, allocations: 19.88 kB / 0.7099 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.71, allocations: 425.6 kB / 0.7103 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.7135, allocations: 1.088 MB / 0.7114 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.7172, allocations: 1.134 MB / 0.7125 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.7189, allocations: 1.23 MB / 0.7137 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.7192, allocations: 216.7 kB / 0.7139 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.7216, allocations: 0.8918 MB / 0.7147 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/0.7223, allocations: 430 kB / 0.7152 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.7224, allocations: 36 kB / 0.7152 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.7274, allocations: 2.438 MB / 0.7176 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.7277, allocations: 143.4 kB / 0.7177 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.7279, allocations: 185.2 kB / 0.7179 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.7299, allocations: 1.243 MB / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7299, allocations: 0 / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7299, allocations: 0 / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.7299, allocations: 0 / 0.7191 GB, free: 12.34 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00224/0.7322, allocations: 1.261 MB / 0.7203 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7322, allocations: 8.031 kB / 0.7203 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.7324, allocations: 119.4 kB / 0.7205 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.7339, allocations: 226.6 kB / 0.7207 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.7346, allocations: 0.4986 MB / 0.7212 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.7348, allocations: 192.7 kB / 0.7213 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7349, allocations: 72 kB / 0.7214 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.7364, allocations: 0.8453 MB / 0.7222 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.7365, allocations: 4 kB / 0.7222 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.7365, allocations: 28 kB / 0.7223 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.7366, allocations: 20 kB / 0.7223 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.738, allocations: 0.6831 MB / 0.723 GB, free: 8.258 MB / 0.5294 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.004149/0.7421, allocations: 3.174 MB / 0.7261 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.7434, allocations: 0.6261 MB / 0.7267 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.7441, allocations: 380.6 kB / 0.727 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/0.7448, allocations: 0.8991 MB / 0.7279 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.7449, allocations: 39.12 kB / 0.7279 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=58): time 2.514e-06/0.7449, allocations: 0 / 0.7279 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58): time 0.00454/0.7494, allocations: 1.885 MB / 0.7298 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.7495, allocations: 59.95 kB / 0.7298 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.7501, allocations: 0.5186 MB / 0.7303 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.7502, allocations: 29.7 kB / 0.7304 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.7504, allocations: 364.2 kB / 0.7307 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.7506, allocations: 205 kB / 0.7309 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.7507, allocations: 8 kB / 0.7309 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7508, allocations: 378.8 kB / 0.7313 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.7514, allocations: 281 kB / 0.7316 GB, free: 14.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.7521, allocations: 332.6 kB / 0.7319 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.7527, allocations: 286.1 kB / 0.7321 GB, free: 14.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.7527, allocations: 3.953 kB / 0.7321 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002662/0.7554, allocations: 1.129 MB / 0.7333 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7554, allocations: 8 kB / 0.7333 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7554, allocations: 0 / 0.7333 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.7562, allocations: 266.4 kB / 0.7335 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.7569, allocations: 155.8 kB / 0.7337 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/0.7624, allocations: 4.919 MB / 0.7385 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.763, allocations: 87.48 kB / 0.7385 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.763, allocations: 35.98 kB / 0.7386 GB, free: 7.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.7634, allocations: 197.7 kB / 0.7388 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.7635, allocations: 63.16 kB / 0.7388 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.7669, allocations: 1.51 MB / 0.7403 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7669, allocations: 8 kB / 0.7403 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.767, allocations: 4 kB / 0.7403 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.767, allocations: 3.984 kB / 0.7403 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.7708, allocations: 2.149 MB / 0.7424 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7709, allocations: 0 / 0.7424 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.7715, allocations: 147.9 kB / 0.7426 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006833/0.7722, allocations: 266.3 kB / 0.7428 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.7723, allocations: 27.97 kB / 0.7428 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.7777, allocations: 4.928 MB / 0.7477 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7777, allocations: 3.938 kB / 0.7477 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.7813, allocations: 1.499 MB / 0.7491 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.7817, allocations: 208 kB / 0.7493 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.7818, allocations: 15.98 kB / 0.7493 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.7823, allocations: 63.89 kB / 0.7494 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.7825, allocations: 52.31 kB / 0.7494 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/0.7826, allocations: 35.98 kB / 0.7495 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004794/0.783, allocations: 374.8 kB / 0.7498 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/0.783, allocations: 0 / 0.7498 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001237/0.7843, allocations: 387.3 kB / 0.7502 GB, free: 10.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004659/0.789, allocations: 2.485 MB / 0.7526 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.7914, allocations: 1.147 MB / 0.7538 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.7914, allocations: 0 / 0.7538 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.7931, allocations: 0.8579 MB / 0.7546 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7942, allocations: 174.1 kB / 0.7548 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008813/0.803, allocations: 4.957 MB / 0.7596 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.8036, allocations: 0.9419 MB / 0.7605 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001138/0.8047, allocations: 431.1 kB / 0.7609 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.8053, allocations: 339.3 kB / 0.7613 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.8053, allocations: 0 / 0.7613 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.8481, allocations: 22.23 MB / 0.783 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.8485, allocations: 276.3 kB / 0.7832 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.612, allocations: 4 kB / 0.7832 GB, free: 8.879 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat