Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7528/0.7528, allocations: 89.66 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 15.09 kB / 460.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 68.84 MB / 0.5166 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.565/0.7081, allocations: 214.8 MB / 0.7263 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.7302, allocations: 20.61 MB / 0.7465 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.7318, allocations: 35.81 kB / 0.7465 GB, free: 256 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.7337, allocations: 0.6292 MB / 0.7471 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.7388, allocations: 1.699 MB / 0.7488 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005331/0.7442, allocations: 1.663 MB / 0.7504 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.7476, allocations: 2.056 MB / 0.7524 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.7482, allocations: 322.8 kB / 0.7527 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.7508, allocations: 1.153 MB / 0.7538 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.7517, allocations: 0.7 MB / 0.7545 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.7519, allocations: 64 kB / 0.7546 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008841/0.7607, allocations: 3.851 MB / 0.7584 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.7611, allocations: 246.9 kB / 0.7586 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.7615, allocations: 289 kB / 0.7589 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.765, allocations: 1.921 MB / 0.7607 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7651, allocations: 4 kB / 0.7607 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7651, allocations: 0 / 0.7607 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.7651, allocations: 0 / 0.7607 GB, free: 1.605 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003706/0.7688, allocations: 1.883 MB / 0.7626 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7689, allocations: 8.031 kB / 0.7626 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.7691, allocations: 189.9 kB / 0.7628 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.7718, allocations: 390.6 kB / 0.7631 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.773, allocations: 0.7272 MB / 0.7639 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.7733, allocations: 368 kB / 0.7642 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.7735, allocations: 131.9 kB / 0.7643 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.7762, allocations: 1.485 MB / 0.7658 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7762, allocations: 4 kB / 0.7658 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.7763, allocations: 51.95 kB / 0.7658 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.7763, allocations: 32 kB / 0.7659 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.7788, allocations: 1.239 MB / 0.7671 GB, free: 10.9 MB / 0.5762 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.006473/0.7853, allocations: 5.438 MB / 0.7724 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.788, allocations: 1.373 MB / 0.7737 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.7894, allocations: 0.7535 MB / 0.7745 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.7905, allocations: 1.794 MB / 0.7762 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.7906, allocations: 51.5 kB / 0.7763 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=113): time 3.076e-06/0.7906, allocations: 0 / 0.7763 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113): time 0.008536/0.7991, allocations: 3.446 MB / 0.7796 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.7992, allocations: 68.41 kB / 0.7797 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.8, allocations: 0.6808 MB / 0.7804 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.8001, allocations: 45.7 kB / 0.7804 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.8005, allocations: 0.5236 MB / 0.7809 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.8008, allocations: 386.3 kB / 0.7813 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.8009, allocations: 20 kB / 0.7813 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8011, allocations: 341.9 kB / 0.7816 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8022, allocations: 0.5452 MB / 0.7822 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.8038, allocations: 0.6252 MB / 0.7828 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.8049, allocations: 0.5535 MB / 0.7833 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.805, allocations: 0 / 0.7833 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005078/0.81, allocations: 2.123 MB / 0.7854 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.8101, allocations: 4 kB / 0.7854 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8101, allocations: 4 kB / 0.7854 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.8114, allocations: 483.5 kB / 0.7859 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.8129, allocations: 299.7 kB / 0.7861 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/0.8223, allocations: 7.259 MB / 0.7932 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8238, allocations: 174.9 kB / 0.7934 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.8239, allocations: 75.97 kB / 0.7935 GB, free: 14.3 MB / 0.6075 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006158/0.8246, allocations: 254.8 kB / 0.7937 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8248, allocations: 102.7 kB / 0.7938 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/0.8316, allocations: 2.936 MB / 0.7967 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.8316, allocations: 12 kB / 0.7967 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8316, allocations: 4 kB / 0.7967 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.8317, allocations: 7.984 kB / 0.7967 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/0.8391, allocations: 3.757 MB / 0.8004 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.8391, allocations: 7.984 kB / 0.8004 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.8405, allocations: 287.8 kB / 0.8006 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.8418, allocations: 0.4911 MB / 0.8011 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8419, allocations: 43.97 kB / 0.8012 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3173/1.159, allocations: 7.256 MB / 0.8083 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.159, allocations: 3.75 kB / 0.8083 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/1.167, allocations: 2.834 MB / 0.811 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/1.168, allocations: 297.2 kB / 0.8113 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.168, allocations: 24.23 kB / 0.8113 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/1.169, allocations: 117.3 kB / 0.8114 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.169, allocations: 99.02 kB / 0.8115 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.169, allocations: 76.44 kB / 0.8116 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007213/1.17, allocations: 487.3 kB / 0.8121 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.17, allocations: 0 / 0.8121 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002272/1.172, allocations: 0.5939 MB / 0.8127 GB, free: 225.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007234/1.179, allocations: 4 MB / 0.8166 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003982/1.183, allocations: 2.062 MB / 0.8186 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.183, allocations: 2.625 kB / 0.8186 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/1.186, allocations: 1.49 MB / 0.82 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.188, allocations: 269.3 kB / 0.8203 GB, free: 223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.206, allocations: 8.364 MB / 0.8285 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009582/1.207, allocations: 1.122 MB / 0.8296 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002593/1.21, allocations: 0.8281 MB / 0.8304 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000992/1.211, allocations: 0.5716 MB / 0.8309 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.733e-06/1.211, allocations: 0 / 0.8309 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/1.268, allocations: 33.9 MB / 0.864 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.269, allocations: 264 kB / 0.8643 GB, free: 192.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.39, allocations: 0 / 0.8643 GB, free: 192.8 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat does not exist to compare? outputFormat=mat