Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.0008501/0.0008499, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009533/0.0009537, allocations: 172.7 kB / 15.95 MB, free: 208 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.397/1.397, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.754/0.754, allocations: 89.66 MB / 380.7 MB, free: 11.38 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 10.44 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 68.84 MB / 0.5166 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5731/0.7361, allocations: 195.8 MB / 0.7078 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.7566, allocations: 16.1 MB / 0.7235 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.7582, allocations: 23.88 kB / 0.7235 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.76, allocations: 0.4971 MB / 0.724 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004765/0.7648, allocations: 1.454 MB / 0.7254 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.7692, allocations: 1.267 MB / 0.7267 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.7717, allocations: 1.584 MB / 0.7282 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.7722, allocations: 230.3 kB / 0.7284 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.7747, allocations: 0.9852 MB / 0.7294 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.7754, allocations: 0.5327 MB / 0.7299 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.7755, allocations: 48 kB / 0.7299 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007327/0.7828, allocations: 3.246 MB / 0.7331 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.7832, allocations: 175.1 kB / 0.7333 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.7838, allocations: 233.1 kB / 0.7335 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.7879, allocations: 1.493 MB / 0.735 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.7879, allocations: 0 / 0.735 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.414e-06/0.788, allocations: 0 / 0.735 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.788, allocations: 0 / 0.735 GB, free: 12.04 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003365/0.7913, allocations: 1.489 MB / 0.7364 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.7914, allocations: 8.031 kB / 0.7364 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.7916, allocations: 139.6 kB / 0.7366 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.7935, allocations: 266.3 kB / 0.7368 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7947, allocations: 0.6103 MB / 0.7374 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.7949, allocations: 200.8 kB / 0.7376 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.7951, allocations: 95.91 kB / 0.7377 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.797, allocations: 1.028 MB / 0.7387 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.797, allocations: 3.984 kB / 0.7387 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.7971, allocations: 36 kB / 0.7387 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.7971, allocations: 24 kB / 0.7388 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.7989, allocations: 0.8158 MB / 0.7396 GB, free: 7.188 MB / 0.545 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.005259/0.8041, allocations: 4.083 MB / 0.7435 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.806, allocations: 0.9094 MB / 0.7444 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.8069, allocations: 459.3 kB / 0.7449 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/0.8078, allocations: 1.299 MB / 0.7461 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.8079, allocations: 43.22 kB / 0.7462 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 4.478e-06/0.8079, allocations: 0 / 0.7462 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.005144/0.813, allocations: 2.122 MB / 0.7482 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.8131, allocations: 64.06 kB / 0.7483 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/0.8139, allocations: 0.6022 MB / 0.7489 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.814, allocations: 41.7 kB / 0.7489 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.8143, allocations: 432 kB / 0.7493 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.8145, allocations: 272 kB / 0.7496 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.8146, allocations: 19.94 kB / 0.7496 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8147, allocations: 337.9 kB / 0.7499 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.8154, allocations: 333.8 kB / 0.7503 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.8162, allocations: 415.1 kB / 0.7507 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.8169, allocations: 362.9 kB / 0.751 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8169, allocations: 0 / 0.751 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002999/0.8199, allocations: 1.326 MB / 0.7523 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.82, allocations: 4 kB / 0.7523 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.82, allocations: 8.062 kB / 0.7523 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/0.8209, allocations: 279.2 kB / 0.7526 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.8217, allocations: 207.7 kB / 0.7528 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.8275, allocations: 5.042 MB / 0.7577 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/0.8283, allocations: 111.2 kB / 0.7578 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8285, allocations: 55.98 kB / 0.7579 GB, free: 3.219 MB / 0.5606 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 (82): * Single equations (assignments): 79 * 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: 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000463/0.8289, allocations: 211.2 kB / 0.7581 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.8291, allocations: 82.97 kB / 0.7581 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/0.8333, allocations: 1.928 MB / 0.76 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.8333, allocations: 12 kB / 0.76 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8333, allocations: 0 / 0.76 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.8333, allocations: 7.984 kB / 0.76 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/0.8381, allocations: 2.545 MB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8382, allocations: 0 / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009122/0.8391, allocations: 200.4 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008182/0.8399, allocations: 287.2 kB / 0.763 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.84, allocations: 35.97 kB / 0.763 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006072/0.8461, allocations: 5.045 MB / 0.768 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8461, allocations: 0 / 0.768 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.8502, allocations: 1.827 MB / 0.7697 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.8507, allocations: 243.8 kB / 0.77 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.8508, allocations: 16 kB / 0.77 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.8514, allocations: 67.84 kB / 0.7701 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.8516, allocations: 72.56 kB / 0.7701 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/0.8517, allocations: 51.97 kB / 0.7702 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006642/0.8523, allocations: 439 kB / 0.7706 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8523, allocations: 0 / 0.7706 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001685/0.854, allocations: 471.1 kB / 0.771 GB, free: 5.125 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005512/0.8596, allocations: 2.869 MB / 0.7738 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003067/0.8626, allocations: 1.322 MB / 0.7751 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8627, allocations: 0 / 0.7751 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.8646, allocations: 0.9684 MB / 0.7761 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.8661, allocations: 228.7 kB / 0.7763 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.8771, allocations: 6.153 MB / 0.7823 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.8778, allocations: 1.009 MB / 0.7833 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8794, allocations: 0.6138 MB / 0.7839 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/0.8801, allocations: 443.2 kB / 0.7843 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of SimCode: time 2.044e-06/0.8801, allocations: 0 / 0.7843 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/1.186, allocations: 26.64 MB / 0.8103 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.186, allocations: 254.8 kB / 0.8106 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.891, allocations: 0 / 0.8106 GB, free: 225.9 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat does not exist to compare? outputFormat=mat