Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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.007476/0.007477, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.629/1.629, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001027/0.001027, allocations: 98.84 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.7608/0.7608, allocations: 90.6 MB / 408.5 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 8 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4381, allocations: 66.28 MB / 0.5387 GB, free: 45.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.254, allocations: 0.7559 GB / 1.295 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/2.254, allocations: 84.08 kB / 1.295 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.708/3.962, allocations: 444.3 MB / 1.728 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.215e-06/3.962, allocations: 0 / 1.728 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001003/3.963, allocations: 25.64 kB / 1.728 GB, free: 92.62 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.008758/3.971, allocations: 2.282 MB / 1.731 GB, free: 91.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.212e-05/3.971, allocations: 9.188 kB / 1.731 GB, free: 91.31 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000411/3.972, allocations: 113.1 kB / 1.731 GB, free: 91.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/3.974, allocations: 199 kB / 1.731 GB, free: 91.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/3.975, allocations: 499.7 kB / 1.732 GB, free: 90.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/3.975, allocations: 184.6 kB / 1.732 GB, free: 90.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/3.975, allocations: 65.58 kB / 1.732 GB, free: 90.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/3.977, allocations: 0.7191 MB / 1.732 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/3.977, allocations: 0 / 1.732 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/3.977, allocations: 27.84 kB / 1.732 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/3.977, allocations: 16.72 kB / 1.732 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/3.978, allocations: 0.6486 MB / 1.733 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/3.981, allocations: 2.785 MB / 1.736 GB, free: 89.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/3.983, allocations: 0.6669 MB / 1.736 GB, free: 89.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/3.984, allocations: 0.7854 MB / 1.737 GB, free: 88.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/3.984, allocations: 39.22 kB / 1.737 GB, free: 88.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.106e-06/3.984, allocations: 0 / 1.737 GB, free: 88.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.005253/3.989, allocations: 2.133 MB / 1.739 GB, free: 87.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/3.989, allocations: 63.22 kB / 1.739 GB, free: 87.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/3.989, allocations: 337.4 kB / 1.74 GB, free: 87.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/3.989, allocations: 35.52 kB / 1.74 GB, free: 87.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/3.99, allocations: 315.4 kB / 1.74 GB, free: 87.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/3.99, allocations: 212.2 kB / 1.74 GB, free: 87.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/3.99, allocations: 9.312 kB / 1.74 GB, free: 87.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001155/3.99, allocations: 369.4 kB / 1.741 GB, free: 87.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/3.991, allocations: 289.9 kB / 1.741 GB, free: 87.06 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/3.991, allocations: 305.2 kB / 1.741 GB, free: 87.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006098/3.992, allocations: 307.1 kB / 1.742 GB, free: 87.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/3.992, allocations: 3.938 kB / 1.742 GB, free: 87.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002731/3.995, allocations: 1.137 MB / 1.743 GB, free: 86.94 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/3.995, allocations: 6.5 kB / 1.743 GB, free: 86.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/3.995, allocations: 10.69 kB / 1.743 GB, free: 86.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/3.995, allocations: 255.3 kB / 1.743 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/3.996, allocations: 140.4 kB / 1.743 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/4.001, allocations: 4.971 MB / 1.748 GB, free: 83.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/4.002, allocations: 83.27 kB / 1.748 GB, free: 83.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/4.002, allocations: 37.45 kB / 1.748 GB, free: 83.11 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 (56): * Single equations (assignments): 51 * 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.0004899/4.003, allocations: 186.8 kB / 1.748 GB, free: 83 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/4.003, allocations: 59.33 kB / 1.748 GB, free: 82.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/4.007, allocations: 1.384 MB / 1.75 GB, free: 82.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/4.007, allocations: 11.45 kB / 1.75 GB, free: 82.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/4.007, allocations: 3.062 kB / 1.75 GB, free: 82.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/4.007, allocations: 3.938 kB / 1.75 GB, free: 82.87 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/4.011, allocations: 2.126 MB / 1.752 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/4.011, allocations: 7.156 kB / 1.752 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/4.012, allocations: 154.8 kB / 1.752 GB, free: 82.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/4.012, allocations: 260.9 kB / 1.752 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/4.012, allocations: 30.02 kB / 1.752 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/4.017, allocations: 4.959 MB / 1.757 GB, free: 78.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.017, allocations: 2.562 kB / 1.757 GB, free: 78.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/4.021, allocations: 1.633 MB / 1.759 GB, free: 78.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/4.021, allocations: 138.4 kB / 1.759 GB, free: 78.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/4.021, allocations: 19.8 kB / 1.759 GB, free: 78.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/4.021, allocations: 60.78 kB / 1.759 GB, free: 78.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/4.022, allocations: 58.27 kB / 1.759 GB, free: 78.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/4.022, allocations: 47.34 kB / 1.759 GB, free: 78.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003141/4.022, allocations: 273.1 kB / 1.759 GB, free: 78.21 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/4.022, allocations: 0 / 1.759 GB, free: 78.21 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00304/4.025, allocations: 0.7122 MB / 1.76 GB, free: 78.06 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,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 (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.007812/4.033, allocations: 3.871 MB / 1.764 GB, free: 76.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002651/4.036, allocations: 1.254 MB / 1.765 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/4.036, allocations: 2.344 kB / 1.765 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/4.037, allocations: 0.9607 MB / 1.766 GB, free: 76.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/4.038, allocations: 143.4 kB / 1.766 GB, free: 76.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/4.047, allocations: 4.709 MB / 1.771 GB, free: 74.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/4.047, allocations: 0.9354 MB / 1.771 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008756/4.048, allocations: 196.3 kB / 1.772 GB, free: 73.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/4.049, allocations: 298.4 kB / 1.772 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of SimCode: time 1.713e-06/4.049, allocations: 7.219 kB / 1.772 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06864/4.117, allocations: 38.13 MB / 1.809 GB, free: 64.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/4.118, allocations: 292 kB / 1.809 GB, free: 63.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/7.745, allocations: 0 / 1.809 GB, free: 63.93 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat