Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.0008076/0.0008076, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6799/0.6799, allocations: 89.67 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.0003811/0.0003813, allocations: 15.03 kB / 460.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 68.84 MB / 0.5166 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5775/0.7234, allocations: 185.4 MB / 0.6976 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.7422, allocations: 13.82 MB / 0.7111 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.7435, allocations: 19.88 kB / 0.7112 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.7451, allocations: 445.5 kB / 0.7116 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.7485, allocations: 0.8858 MB / 0.7125 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.7525, allocations: 1.121 MB / 0.7135 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.7548, allocations: 1.246 MB / 0.7148 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.7553, allocations: 200.7 kB / 0.715 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.7577, allocations: 0.8996 MB / 0.7158 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.7586, allocations: 426.1 kB / 0.7162 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.7589, allocations: 40 kB / 0.7163 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.763, allocations: 1.377 MB / 0.7176 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.7633, allocations: 139.3 kB / 0.7178 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.7637, allocations: 189.2 kB / 0.7179 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.7663, allocations: 1.165 MB / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.7663, allocations: 0 / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7663, allocations: 0 / 0.7191 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.832e-05/0.7664, 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.003154/0.7696, allocations: 1.244 MB / 0.7203 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7696, allocations: 12.03 kB / 0.7203 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/0.7699, allocations: 122.5 kB / 0.7204 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.7715, allocations: 214.6 kB / 0.7206 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.7725, allocations: 0.5141 MB / 0.7211 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.7728, allocations: 188.8 kB / 0.7213 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.773, allocations: 72 kB / 0.7214 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.775, allocations: 0.8492 MB / 0.7222 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.775, allocations: 3.938 kB / 0.7222 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/0.7751, allocations: 24 kB / 0.7222 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.7751, allocations: 20 kB / 0.7222 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.7767, allocations: 0.6715 MB / 0.7229 GB, free: 8.273 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.00452/0.7812, allocations: 2.883 MB / 0.7257 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7826, allocations: 0.6244 MB / 0.7263 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.7833, allocations: 374.4 kB / 0.7267 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.784, allocations: 0.7446 MB / 0.7274 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.784, allocations: 39.12 kB / 0.7275 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/0.7841, allocations: 0 / 0.7275 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.004728/0.7888, allocations: 1.882 MB / 0.7293 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.7889, allocations: 59.97 kB / 0.7293 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.7896, allocations: 0.499 MB / 0.7298 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.7897, allocations: 33.7 kB / 0.7299 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.7899, allocations: 360.3 kB / 0.7302 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.7901, allocations: 208.9 kB / 0.7304 GB, free: 84 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.7902, allocations: 8 kB / 0.7304 GB, free: 76 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7904, allocations: 374.7 kB / 0.7308 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.7911, allocations: 281 kB / 0.731 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.7917, allocations: 284.9 kB / 0.7313 GB, free: 15.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.7924, allocations: 290.1 kB / 0.7316 GB, free: 14.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7925, allocations: 0 / 0.7316 GB, free: 14.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002892/0.7953, allocations: 1.117 MB / 0.7327 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.7954, allocations: 4 kB / 0.7327 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7954, allocations: 0 / 0.7327 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008662/0.7963, allocations: 262.4 kB / 0.7329 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.797, allocations: 167.7 kB / 0.7331 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.8029, allocations: 4.911 MB / 0.7379 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.8036, allocations: 87.53 kB / 0.738 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.8038, allocations: 43.98 kB / 0.738 GB, free: 7.859 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0004006/0.8042, allocations: 181.8 kB / 0.7382 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.8044, allocations: 67.11 kB / 0.7383 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.8083, allocations: 1.675 MB / 0.7399 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8083, allocations: 4 kB / 0.7399 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8083, allocations: 4.875 kB / 0.7399 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.8083, allocations: 3.984 kB / 0.7399 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.8126, allocations: 2.272 MB / 0.7421 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8127, allocations: 4 kB / 0.7421 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.8134, allocations: 139.8 kB / 0.7423 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.8142, allocations: 278.2 kB / 0.7425 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.8142, allocations: 35.92 kB / 0.7426 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.8198, allocations: 4.912 MB / 0.7474 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8198, allocations: 7.938 kB / 0.7474 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.8234, allocations: 1.532 MB / 0.7489 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.8238, allocations: 200.1 kB / 0.749 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.824, allocations: 23.98 kB / 0.7491 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.8246, allocations: 64.77 kB / 0.7491 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.8247, allocations: 48.5 kB / 0.7492 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.8248, allocations: 39.92 kB / 0.7492 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004845/0.8253, allocations: 370.8 kB / 0.7496 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8253, allocations: 0 / 0.7496 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001321/0.8267, allocations: 359.2 kB / 0.7499 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.00475/0.8314, allocations: 2.468 MB / 0.7523 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.8339, allocations: 1.148 MB / 0.7534 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8339, allocations: 3.938 kB / 0.7534 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.8355, allocations: 0.8624 MB / 0.7543 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.8368, allocations: 182.1 kB / 0.7545 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009629/0.8465, allocations: 4.933 MB / 0.7593 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.8472, allocations: 0.9457 MB / 0.7602 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001425/0.8486, allocations: 0.5378 MB / 0.7607 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.8493, allocations: 351.2 kB / 0.7611 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.8493, allocations: 4 kB / 0.7611 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.8963, allocations: 21.59 MB / 0.7822 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/0.8967, allocations: 280.4 kB / 0.7824 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.571, allocations: 4.062 kB / 0.7824 GB, free: 9.754 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat