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.01049/0.01049, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.813/1.813, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008701/0.0008697, allocations: 94.86 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.8846/0.8846, allocations: 90.6 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4988, allocations: 66.29 MB / 0.5387 GB, free: 45.72 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.2328/0.7317, allocations: 179.1 MB / 0.7135 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03085/0.7626, allocations: 21.27 MB / 0.7343 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.7646, allocations: 23.88 kB / 0.7343 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.767, allocations: 0.5831 MB / 0.7349 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006529/0.7736, allocations: 1.706 MB / 0.7365 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.7838, allocations: 2.883 MB / 0.7394 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00375/0.7876, allocations: 1.19 MB / 0.7405 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.7882, allocations: 294.8 kB / 0.7408 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.7906, allocations: 0.9739 MB / 0.7418 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.7913, allocations: 0.5638 MB / 0.7423 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.7915, allocations: 56 kB / 0.7424 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.8039, allocations: 5.111 MB / 0.7474 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.8046, allocations: 219.1 kB / 0.7476 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008963/0.8055, allocations: 257 kB / 0.7478 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.8125, allocations: 2.385 MB / 0.7501 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8126, allocations: 0 / 0.7501 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8126, allocations: 0 / 0.7501 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.576e-05/0.8127, allocations: 0 / 0.7501 GB, free: 2.965 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.005857/0.8185, allocations: 1.981 MB / 0.7521 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.8186, allocations: 12.03 kB / 0.7521 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005124/0.8191, allocations: 177.1 kB / 0.7523 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.8221, allocations: 350 kB / 0.7526 GB, free: 404 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2869/1.109, allocations: 0.662 MB / 0.7532 GB, free: 181.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/1.109, allocations: 354.8 kB / 0.7536 GB, free: 181 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/1.11, allocations: 116.8 kB / 0.7537 GB, free: 181 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.112, allocations: 1.39 MB / 0.755 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.113, allocations: 0 / 0.755 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.113, allocations: 45.75 kB / 0.7551 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/1.113, allocations: 30.67 kB / 0.7551 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/1.115, allocations: 1.169 MB / 0.7563 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007395/1.123, allocations: 4.909 MB / 0.761 GB, free: 178.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/1.126, allocations: 1.376 MB / 0.7624 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.127, allocations: 1.721 MB / 0.7641 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.127, allocations: 48.78 kB / 0.7641 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=112): time 4.989e-06/1.127, allocations: 0.9375 kB / 0.7641 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112): time 0.009257/1.136, allocations: 3.645 MB / 0.7677 GB, free: 175 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.136, allocations: 71.72 kB / 0.7677 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008751/1.137, allocations: 0.5549 MB / 0.7683 GB, free: 174.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.137, allocations: 40.7 kB / 0.7683 GB, free: 174.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/1.138, allocations: 481.5 kB / 0.7688 GB, free: 174.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/1.138, allocations: 382.6 kB / 0.7692 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/1.138, allocations: 18.66 kB / 0.7692 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.138, allocations: 344.2 kB / 0.7695 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.14, allocations: 0.5317 MB / 0.77 GB, free: 173.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.141, allocations: 0.6266 MB / 0.7706 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.142, allocations: 0.5454 MB / 0.7712 GB, free: 173 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.142, allocations: 0 / 0.7712 GB, free: 173 MB / 0.5573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005674/1.148, allocations: 2.107 MB / 0.7732 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/1.148, allocations: 5.688 kB / 0.7732 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.148, allocations: 1.719 kB / 0.7732 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/1.149, allocations: 477 kB / 0.7737 GB, free: 172.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.151, allocations: 287.1 kB / 0.774 GB, free: 172.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/1.161, allocations: 7.34 MB / 0.7811 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.162, allocations: 157 kB / 0.7813 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/1.163, allocations: 79.25 kB / 0.7813 GB, free: 166.4 MB / 0.5573 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 () * Number of clocked 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.0005712/1.163, allocations: 251 kB / 0.7816 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.163, allocations: 92.27 kB / 0.7817 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007232/1.171, allocations: 2.488 MB / 0.7841 GB, free: 165.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.171, allocations: 17 kB / 0.7841 GB, free: 165.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.171, allocations: 2.969 kB / 0.7841 GB, free: 165.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.171, allocations: 5.766 kB / 0.7841 GB, free: 165.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00828/1.179, allocations: 3.656 MB / 0.7877 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.179, allocations: 1.5 kB / 0.7877 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.181, allocations: 300.5 kB / 0.788 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/1.182, allocations: 483.7 kB / 0.7884 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.182, allocations: 52.64 kB / 0.7885 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009181/1.192, allocations: 7.34 MB / 0.7957 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.192, allocations: 0.7656 kB / 0.7957 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/1.199, allocations: 2.878 MB / 0.7985 GB, free: 157 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/1.2, allocations: 191.3 kB / 0.7987 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.2, allocations: 28.86 kB / 0.7987 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/1.201, allocations: 110.3 kB / 0.7988 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.201, allocations: 104.6 kB / 0.7989 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.201, allocations: 80.58 kB / 0.799 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000572/1.202, allocations: 390.6 kB / 0.7993 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.202, allocations: 4 kB / 0.7993 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003265/1.205, allocations: 0.8743 MB / 0.8002 GB, free: 156.5 MB / 0.5573 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.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (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.01075/1.216, allocations: 4.718 MB / 0.8048 GB, free: 154.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004765/1.221, allocations: 2.134 MB / 0.8069 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.221, allocations: 0 / 0.8069 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.224, allocations: 1.579 MB / 0.8084 GB, free: 152.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.225, allocations: 217.9 kB / 0.8086 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/1.239, allocations: 8.499 MB / 0.8169 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/1.24, allocations: 1.113 MB / 0.818 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001711/1.242, allocations: 306.2 kB / 0.8183 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/1.242, allocations: 0.5305 MB / 0.8188 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/1.242, allocations: 0 / 0.8188 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/1.304, allocations: 38.92 MB / 0.8568 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.305, allocations: 279.7 kB / 0.8571 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/4.935, allocations: 0 / 0.8571 GB, free: 105.4 MB / 0.5573 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