Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.007835/0.007835, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.717/1.717, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.001217/0.001217, allocations: 86.88 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.8741/0.8741, allocations: 90.6 MB / 408.4 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.0003925/0.0003925, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4676, allocations: 66.28 MB / 0.5387 GB, free: 45.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/2.301, allocations: 0.7553 GB / 1.294 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/2.301, allocations: 80.5 kB / 1.294 GB, free: 148 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.72/4.021, allocations: 428.7 MB / 1.713 GB, free: 84.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/4.021, allocations: 1.531 kB / 1.713 GB, free: 84.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001162/4.021, allocations: 24.97 kB / 1.713 GB, free: 84.14 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008506/4.03, allocations: 2.167 MB / 1.715 GB, free: 83.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/4.03, allocations: 9.625 kB / 1.715 GB, free: 83.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004171/4.03, allocations: 109.1 kB / 1.715 GB, free: 83.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/4.032, allocations: 207.3 kB / 1.715 GB, free: 83.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/4.034, allocations: 492.6 kB / 1.716 GB, free: 82.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/4.034, allocations: 183.6 kB / 1.716 GB, free: 82.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/4.034, allocations: 64.66 kB / 1.716 GB, free: 82.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/4.037, allocations: 0.7153 MB / 1.717 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/4.037, allocations: 0 / 1.717 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/4.037, allocations: 30.08 kB / 1.717 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/4.037, allocations: 26.7 kB / 1.717 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/4.039, allocations: 0.628 MB / 1.717 GB, free: 82.77 MB / 0.5886 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.004618/4.043, allocations: 2.556 MB / 1.72 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/4.045, allocations: 0.6823 MB / 1.72 GB, free: 81.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/4.046, allocations: 490.7 kB / 1.721 GB, free: 81.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/4.046, allocations: 40.53 kB / 1.721 GB, free: 81.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 4.177e-06/4.046, allocations: 1.219 kB / 1.721 GB, free: 81.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.00573/4.051, allocations: 2.091 MB / 1.723 GB, free: 80.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/4.051, allocations: 61.12 kB / 1.723 GB, free: 80.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/4.052, allocations: 340.1 kB / 1.723 GB, free: 80.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/4.052, allocations: 38.55 kB / 1.723 GB, free: 80.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/4.052, allocations: 315.1 kB / 1.724 GB, free: 80.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/4.053, allocations: 212.5 kB / 1.724 GB, free: 80.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/4.053, allocations: 12.75 kB / 1.724 GB, free: 80.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001599/4.053, allocations: 371.8 kB / 1.724 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/4.054, allocations: 286.7 kB / 1.724 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/4.054, allocations: 294.8 kB / 1.725 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/4.055, allocations: 293.1 kB / 1.725 GB, free: 79.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/4.055, allocations: 4.922 kB / 1.725 GB, free: 79.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0033/4.059, allocations: 1.131 MB / 1.726 GB, free: 79.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/4.059, allocations: 5.125 kB / 1.726 GB, free: 79.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/4.059, allocations: 1.906 kB / 1.726 GB, free: 79.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/4.059, allocations: 255.8 kB / 1.726 GB, free: 79.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/4.06, allocations: 144.9 kB / 1.727 GB, free: 79.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/4.066, allocations: 4.969 MB / 1.731 GB, free: 75.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/4.067, allocations: 78.66 kB / 1.731 GB, free: 75.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/4.067, allocations: 49.05 kB / 1.731 GB, free: 75.82 MB / 0.5886 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 (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004871/4.067, allocations: 185.7 kB / 1.732 GB, free: 75.71 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/4.067, allocations: 59.81 kB / 1.732 GB, free: 75.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/4.071, allocations: 1.37 MB / 1.733 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/4.071, allocations: 8.844 kB / 1.733 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/4.071, allocations: 0 / 1.733 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/4.071, allocations: 6.344 kB / 1.733 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/4.075, allocations: 2.102 MB / 1.735 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/4.075, allocations: 0 / 1.735 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/4.076, allocations: 149.5 kB / 1.735 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/4.077, allocations: 259.3 kB / 1.736 GB, free: 75.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/4.077, allocations: 34.91 kB / 1.736 GB, free: 75.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/4.082, allocations: 4.966 MB / 1.74 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/4.082, allocations: 3.75 kB / 1.74 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/4.085, allocations: 1.603 MB / 1.742 GB, free: 71.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/4.086, allocations: 194.7 kB / 1.742 GB, free: 71.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/4.086, allocations: 15.53 kB / 1.742 GB, free: 71.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/4.086, allocations: 60.95 kB / 1.742 GB, free: 71.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/4.087, allocations: 63.47 kB / 1.742 GB, free: 71.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/4.087, allocations: 46.8 kB / 1.742 GB, free: 71.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003326/4.087, allocations: 271 kB / 1.743 GB, free: 70.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/4.087, allocations: 3.969 kB / 1.743 GB, free: 70.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00286/4.09, allocations: 0.664 MB / 1.743 GB, free: 70.82 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007403/4.097, allocations: 3.829 MB / 1.747 GB, free: 69.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002686/4.1, allocations: 1.245 MB / 1.748 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.1, allocations: 0 / 1.748 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/4.102, allocations: 0.9423 MB / 1.749 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/4.103, allocations: 143.6 kB / 1.749 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008787/4.111, allocations: 4.669 MB / 1.754 GB, free: 67.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/4.112, allocations: 0.9353 MB / 1.755 GB, free: 66.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001164/4.113, allocations: 191.1 kB / 1.755 GB, free: 66.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/4.114, allocations: 305.3 kB / 1.755 GB, free: 66.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.255e-06/4.114, allocations: 3.844 kB / 1.755 GB, free: 66.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0761/4.19, allocations: 38.52 MB / 1.793 GB, free: 65.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/4.19, allocations: 269.7 kB / 1.793 GB, free: 64.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/7.836, allocations: 0 / 1.793 GB, free: 64.7 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat