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.0007881/0.0007882, allocations: 180.2 kB / 15.45 MB, free: 6.227 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.152/1.152, allocations: 205 MB / 221.2 MB, free: 1.863 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006316/0.0006318, allocations: 94.23 kB / 269.2 MB, free: 1.809 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8189/0.8189, allocations: 90.53 MB / 407.6 MB, free: 15.1 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002652, allocations: 12.28 kB / 484.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09354, allocations: 65.82 MB / 0.5372 GB, free: 1.617 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3556/0.4491, allocations: 209.7 MB / 0.742 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.4643, allocations: 16.32 MB / 0.758 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.4649, allocations: 19.88 kB / 0.758 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.4658, allocations: 401.9 kB / 0.7584 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.4678, allocations: 0.8863 MB / 0.7592 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.4721, allocations: 1.983 MB / 0.7612 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.473, allocations: 1.28 MB / 0.7624 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.4732, allocations: 212.2 kB / 0.7626 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.4745, allocations: 0.9226 MB / 0.7635 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2476/0.7221, allocations: 403.4 kB / 0.7639 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.7224, allocations: 35.59 kB / 0.764 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/0.7287, allocations: 3.146 MB / 0.767 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.7289, allocations: 132 kB / 0.7672 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.7294, allocations: 375.8 kB / 0.7675 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.7337, allocations: 2.268 MB / 0.7697 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7338, allocations: 1.094 kB / 0.7697 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7338, allocations: 0.8438 kB / 0.7697 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.7338, allocations: 0.9844 kB / 0.7697 GB, free: 4.207 MB / 0.5573 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.002374/0.7362, allocations: 1.312 MB / 0.771 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7362, allocations: 9.656 kB / 0.771 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.7363, allocations: 112.9 kB / 0.7711 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.7376, allocations: 199.2 kB / 0.7713 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.7384, allocations: 499.6 kB / 0.7718 GB, free: 19.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.7386, allocations: 183.4 kB / 0.772 GB, free: 19.11 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.7387, allocations: 70.03 kB / 0.772 GB, free: 19.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.7401, allocations: 0.7303 MB / 0.7728 GB, free: 19.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.7401, allocations: 0 / 0.7728 GB, free: 19.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.7402, allocations: 41 kB / 0.7728 GB, free: 19.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.7402, allocations: 21.09 kB / 0.7728 GB, free: 19.06 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.7414, allocations: 0.6421 MB / 0.7734 GB, free: 19.05 MB / 0.573 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.002995/0.7444, allocations: 2.723 MB / 0.7761 GB, free: 17.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.7457, allocations: 0.655 MB / 0.7767 GB, free: 17.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.7463, allocations: 387.1 kB / 0.7771 GB, free: 17.68 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/0.7479, allocations: 1.903 MB / 0.779 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.7479, allocations: 40.38 kB / 0.779 GB, free: 15.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.7479, allocations: 6 kB / 0.779 GB, free: 15.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.004455/0.7524, allocations: 1.943 MB / 0.7809 GB, free: 15.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.7524, allocations: 63.33 kB / 0.781 GB, free: 15.35 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.7528, allocations: 392.1 kB / 0.7813 GB, free: 15.24 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.7529, allocations: 34.64 kB / 0.7814 GB, free: 15.21 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.753, allocations: 317.6 kB / 0.7817 GB, free: 15.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.7532, allocations: 213.5 kB / 0.7819 GB, free: 14.92 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.7532, allocations: 11.81 kB / 0.7819 GB, free: 14.92 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7533, allocations: 368.7 kB / 0.7822 GB, free: 14.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.7539, allocations: 287.2 kB / 0.7825 GB, free: 14.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.7545, allocations: 298.2 kB / 0.7828 GB, free: 14.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.7557, allocations: 0.5987 MB / 0.7834 GB, free: 14.56 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7557, allocations: 0 / 0.7834 GB, free: 14.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002467/0.7582, allocations: 1.137 MB / 0.7845 GB, free: 14.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7582, allocations: 6.438 kB / 0.7845 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7582, allocations: 0 / 0.7845 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/0.7589, allocations: 261.4 kB / 0.7848 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.7595, allocations: 144.8 kB / 0.7849 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.7642, allocations: 4.899 MB / 0.7897 GB, free: 10.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.7647, allocations: 82.48 kB / 0.7898 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.7648, allocations: 48.34 kB / 0.7898 GB, free: 10.55 MB / 0.573 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.7651, allocations: 184.2 kB / 0.79 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.7652, allocations: 56.38 kB / 0.79 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.7683, allocations: 1.373 MB / 0.7914 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.7683, allocations: 10.41 kB / 0.7914 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7684, allocations: 6.125 kB / 0.7914 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.7684, allocations: 3.094 kB / 0.7914 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.7719, allocations: 2.147 MB / 0.7935 GB, free: 9.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7719, allocations: 0 / 0.7935 GB, free: 9.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.7725, allocations: 147.7 kB / 0.7936 GB, free: 9.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000599/0.7731, allocations: 267.7 kB / 0.7939 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.7732, allocations: 33.83 kB / 0.7939 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.7777, allocations: 4.897 MB / 0.7987 GB, free: 5.984 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7777, allocations: 3.094 kB / 0.7987 GB, free: 5.984 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.7807, allocations: 1.607 MB / 0.8003 GB, free: 5.719 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.7809, allocations: 207.7 kB / 0.8005 GB, free: 5.586 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.781, allocations: 14.28 kB / 0.8005 GB, free: 5.586 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.7814, allocations: 62.39 kB / 0.8005 GB, free: 5.578 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7816, allocations: 63.55 kB / 0.8006 GB, free: 5.578 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.7817, allocations: 50.16 kB / 0.8006 GB, free: 5.578 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002606/0.7819, allocations: 272.8 kB / 0.8009 GB, free: 5.496 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.8009 GB, free: 5.496 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001554/0.7835, allocations: 0.5286 MB / 0.8014 GB, free: 5.41 MB / 0.573 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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004836/0.7883, allocations: 2.87 MB / 0.8042 GB, free: 4.492 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.7905, allocations: 1.255 MB / 0.8055 GB, free: 4.055 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7905, allocations: 2.906 kB / 0.8055 GB, free: 4.055 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.7919, allocations: 0.9583 MB / 0.8064 GB, free: 3.641 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.7927, allocations: 161.3 kB / 0.8065 GB, free: 3.629 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.8027, allocations: 6.721 MB / 0.8131 GB, free: 1.102 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.8032, allocations: 0.9256 MB / 0.814 GB, free: 400 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008403/0.804, allocations: 187.8 kB / 0.8142 GB, free: 320 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.8045, allocations: 312.5 kB / 0.8145 GB, free: 304 kB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.8045, allocations: 1.859 kB / 0.8145 GB, free: 304 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.923/1.728, allocations: 24.95 MB / 0.8389 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.728, allocations: 294.9 kB / 0.8391 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.827, allocations: 0 / 0.8391 GB, free: 4.062 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