Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7074/0.7074, allocations: 100.3 MB / 409.8 MB, free: 5.398 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 77.14 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3902, allocations: 74.43 MB / 0.6316 GB, free: 2.441 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6668/1.057, allocations: 236 MB / 0.862 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02178/1.079, allocations: 22.4 MB / 0.8839 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/1.081, allocations: 91.62 kB / 0.884 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/1.083, allocations: 0.7959 MB / 0.8847 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006451/1.09, allocations: 2.072 MB / 0.8868 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005714/1.096, allocations: 2.185 MB / 0.8889 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003444/1.099, allocations: 2.245 MB / 0.8911 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/1.1, allocations: 266.1 kB / 0.8913 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/1.103, allocations: 1.455 MB / 0.8928 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.104, allocations: 0.8527 MB / 0.8936 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/1.104, allocations: 134.3 kB / 0.8937 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007729/1.112, allocations: 4.148 MB / 0.8978 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/1.113, allocations: 348.1 kB / 0.8981 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.114, allocations: 0.8246 MB / 0.8989 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/1.12, allocations: 3.055 MB / 0.9019 GB, free: 400 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.12, allocations: 0.9062 kB / 0.9019 GB, free: 400 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/1.12, allocations: 0 / 0.9019 GB, free: 400 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.919e-05/1.12, allocations: 2.25 kB / 0.9019 GB, free: 400 kB / 0.6544 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.004861/1.125, allocations: 2.399 MB / 0.9042 GB, free: 15.21 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.125, allocations: 8.906 kB / 0.9042 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.795e-05/1.125, allocations: 33.28 kB / 0.9043 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/1.125, allocations: 189.5 kB / 0.9045 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/1.128, allocations: 438.3 kB / 0.9049 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/1.131, allocations: 1.134 MB / 0.906 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/1.131, allocations: 349.5 kB / 0.9063 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/1.131, allocations: 130.6 kB / 0.9064 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/1.134, allocations: 1.448 MB / 0.9079 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.134, allocations: 2.188 kB / 0.9079 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.134, allocations: 51.53 kB / 0.9079 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/1.134, allocations: 35.41 kB / 0.9079 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/1.137, allocations: 1.186 MB / 0.9091 GB, free: 14.21 MB / 0.67 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.007713/1.145, allocations: 5.454 MB / 0.9144 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/1.148, allocations: 1.246 MB / 0.9156 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.149, allocations: 0.6674 MB / 0.9163 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.151, allocations: 1.792 MB / 0.918 GB, free: 9.258 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.151, allocations: 41.97 kB / 0.9181 GB, free: 9.215 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 5.52e-06/1.151, allocations: 6.203 kB / 0.9181 GB, free: 9.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.009036/1.16, allocations: 3.053 MB / 0.9211 GB, free: 8.617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.16, allocations: 62.91 kB / 0.9211 GB, free: 8.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.161, allocations: 0.9169 MB / 0.922 GB, free: 8.406 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/1.161, allocations: 42.77 kB / 0.9221 GB, free: 8.375 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/1.162, allocations: 0.638 MB / 0.9227 GB, free: 8.137 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/1.162, allocations: 418.8 kB / 0.9231 GB, free: 7.863 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/1.162, allocations: 201.9 kB / 0.9233 GB, free: 7.848 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.162, allocations: 349.7 kB / 0.9236 GB, free: 7.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/1.164, allocations: 0.4907 MB / 0.9241 GB, free: 7.531 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.165, allocations: 0.5817 MB / 0.9247 GB, free: 7.473 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/1.167, allocations: 1.051 MB / 0.9257 GB, free: 7.348 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.167, allocations: 1.031 kB / 0.9257 GB, free: 7.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005322/1.173, allocations: 1.927 MB / 0.9276 GB, free: 6.812 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.173, allocations: 5.438 kB / 0.9276 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.173, allocations: 3.594 kB / 0.9276 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/1.174, allocations: 411 kB / 0.928 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.175, allocations: 297.2 kB / 0.9283 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.186, allocations: 7.415 MB / 0.9355 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.187, allocations: 140.2 kB / 0.9356 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/1.187, allocations: 70.88 kB / 0.9357 GB, free: 0.5117 MB / 0.67 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006578/1.188, allocations: 269.8 kB / 0.936 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/1.188, allocations: 139.1 kB / 0.9361 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007053/1.195, allocations: 2.718 MB / 0.9387 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.195, allocations: 12 kB / 0.9388 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.195, allocations: 4 kB / 0.9388 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.195, allocations: 3.984 kB / 0.9388 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008884/1.204, allocations: 3.602 MB / 0.9423 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.204, allocations: 4 kB / 0.9423 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.206, allocations: 296.5 kB / 0.9426 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/1.208, allocations: 407 kB / 0.943 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.208, allocations: 51.95 kB / 0.943 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.219, allocations: 7.433 MB / 0.9503 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.219, allocations: 0 / 0.9503 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007544/1.227, allocations: 2.616 MB / 0.9528 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007755/1.227, allocations: 323.7 kB / 0.9531 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.227, allocations: 28 kB / 0.9532 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/1.228, allocations: 63.94 kB / 0.9532 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.229, allocations: 104 kB / 0.9533 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.229, allocations: 67.97 kB / 0.9534 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009826/1.23, allocations: 0.6273 MB / 0.954 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/1.23, allocations: 0 / 0.954 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002345/1.232, allocations: 0.6079 MB / 0.9546 GB, free: 13.38 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008867/1.241, allocations: 3.741 MB / 0.9582 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005106/1.246, allocations: 1.834 MB / 0.96 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.246, allocations: 0 / 0.96 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.249, allocations: 1.334 MB / 0.9613 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.251, allocations: 304 kB / 0.9616 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.277, allocations: 11.33 MB / 0.9727 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009938/1.278, allocations: 1.202 MB / 0.9739 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001971/1.28, allocations: 0.8519 MB / 0.9747 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.282, allocations: 0.6788 MB / 0.9753 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of SimCode: time 8.81e-07/1.282, allocations: 0 / 0.9753 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09342/1.375, allocations: 39.07 MB / 1.014 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.93, allocations: 15.8 kB / 1.014 GB, free: 1.223 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.62451231299201] Failed to read output from testmodel.py, exit status != 0: 15.097475686983671 15.111341107 13.988204924 Calling exit ...