Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001514/0.001514, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.996/1.996, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.000966/0.0009657, allocations: 90.11 kB / 266.6 MB, free: 9.273 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.9039/0.9039, allocations: 90.34 MB / 405 MB, free: 8.652 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.984e-05/4.989e-05, allocations: 4 kB / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4357, allocations: 66.25 MB / 0.5327 GB, free: 28.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.887/2.322, allocations: 0.7567 GB / 1.289 GB, free: 95.82 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/2.323, allocations: 79.95 kB / 1.289 GB, free: 95.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.915/5.237, allocations: 0.6738 GB / 1.963 GB, free: 60.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/5.237, allocations: 0 / 1.963 GB, free: 60.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001741/5.238, allocations: 38.02 kB / 1.963 GB, free: 60.91 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.01254/5.25, allocations: 3.352 MB / 1.967 GB, free: 59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/5.25, allocations: 13.69 kB / 1.967 GB, free: 59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006568/5.251, allocations: 171.4 kB / 1.967 GB, free: 58.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/5.254, allocations: 337.4 kB / 1.967 GB, free: 58.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/5.256, allocations: 0.6808 MB / 1.968 GB, free: 58.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/5.256, allocations: 352.3 kB / 1.968 GB, free: 58.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/5.257, allocations: 119.7 kB / 1.968 GB, free: 58.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/5.26, allocations: 1.212 MB / 1.969 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/5.26, allocations: 6.938 kB / 1.969 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/5.26, allocations: 42.94 kB / 1.969 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/5.26, allocations: 35.48 kB / 1.969 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/5.262, allocations: 0.9568 MB / 1.97 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/5.27, allocations: 4.901 MB / 1.975 GB, free: 55.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/5.272, allocations: 1.115 MB / 1.976 GB, free: 55.56 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/5.273, allocations: 0.514 MB / 1.977 GB, free: 55.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/5.274, allocations: 1.556 MB / 1.978 GB, free: 53.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/5.274, allocations: 52.69 kB / 1.978 GB, free: 53.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 3.627e-06/5.274, allocations: 0 / 1.978 GB, free: 53.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.004513/5.278, allocations: 1.633 MB / 1.98 GB, free: 53.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/5.278, allocations: 66.16 kB / 1.98 GB, free: 53.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/5.279, allocations: 495.5 kB / 1.98 GB, free: 53.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/5.279, allocations: 43.14 kB / 1.981 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/5.279, allocations: 467.2 kB / 1.981 GB, free: 53.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/5.28, allocations: 385.5 kB / 1.981 GB, free: 52.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/5.28, allocations: 19 kB / 1.981 GB, free: 52.97 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/5.28, allocations: 349.7 kB / 1.982 GB, free: 52.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/5.28, allocations: 375.3 kB / 1.982 GB, free: 52.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/5.281, allocations: 465.2 kB / 1.982 GB, free: 52.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/5.282, allocations: 395.8 kB / 1.983 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/5.282, allocations: 3.938 kB / 1.983 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003913/5.286, allocations: 1.685 MB / 1.985 GB, free: 52.44 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/5.286, allocations: 6.562 kB / 1.985 GB, free: 52.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/5.286, allocations: 3.938 kB / 1.985 GB, free: 52.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/5.287, allocations: 268.1 kB / 1.985 GB, free: 52.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/5.288, allocations: 295.3 kB / 1.985 GB, free: 52.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/5.294, allocations: 6.433 MB / 1.991 GB, free: 47.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/5.295, allocations: 159.6 kB / 1.991 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/5.295, allocations: 76.2 kB / 1.992 GB, free: 47.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003225/5.296, allocations: 157.1 kB / 1.992 GB, free: 47.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/5.296, allocations: 90.16 kB / 1.992 GB, free: 47.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/5.301, allocations: 2.132 MB / 1.994 GB, free: 46.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/5.302, allocations: 17.19 kB / 1.994 GB, free: 46.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/5.302, allocations: 3.188 kB / 1.994 GB, free: 46.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/5.302, allocations: 6.938 kB / 1.994 GB, free: 46.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/5.308, allocations: 3.223 MB / 1.997 GB, free: 45.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/5.308, allocations: 0 / 1.997 GB, free: 45.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/5.31, allocations: 299.5 kB / 1.997 GB, free: 45.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/5.31, allocations: 281.9 kB / 1.998 GB, free: 45.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/5.31, allocations: 48.42 kB / 1.998 GB, free: 45.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/5.316, allocations: 6.444 MB / 2.004 GB, free: 39.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.316, allocations: 0 / 2.004 GB, free: 39.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/5.322, allocations: 2.371 MB / 2.006 GB, free: 38.49 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/5.323, allocations: 172.2 kB / 2.006 GB, free: 38.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/5.323, allocations: 31.53 kB / 2.006 GB, free: 38.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/5.324, allocations: 110.5 kB / 2.007 GB, free: 38.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/5.324, allocations: 107.4 kB / 2.007 GB, free: 38.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/5.324, allocations: 79.39 kB / 2.007 GB, free: 38.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004905/5.325, allocations: 388.3 kB / 2.007 GB, free: 38.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/5.325, allocations: 0 / 2.007 GB, free: 38.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004252/5.329, allocations: 1.128 MB / 2.008 GB, free: 37.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01172/5.341, allocations: 5.248 MB / 2.013 GB, free: 32.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00406/5.345, allocations: 1.853 MB / 2.015 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/5.345, allocations: 4 kB / 2.015 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/5.348, allocations: 1.416 MB / 2.017 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/5.349, allocations: 223.2 kB / 2.017 GB, free: 29.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/5.357, allocations: 2.562 MB / 2.019 GB, free: 27.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/5.358, allocations: 1.118 MB / 2.02 GB, free: 26.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001871/5.359, allocations: 374.3 kB / 2.021 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/5.36, allocations: 0.5063 MB / 2.021 GB, free: 25.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/5.36, allocations: 0 / 2.021 GB, free: 25.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.562/5.922, allocations: 59.58 MB / 2.079 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/5.923, allocations: 244.1 kB / 2.08 GB, free: 83.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.677/10.6, allocations: 4 kB / 2.08 GB, free: 83.54 MB / 0.6198 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat does not exist to compare? outputFormat=mat