Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009001/0.009001, allocations: 171.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.639/1.639, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009885/0.0009883, allocations: 90.88 kB / 269.6 MB, free: 13.35 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.8108/0.8108, allocations: 90.58 MB / 408.4 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.0003505/0.0003506, allocations: 8 kB / 485.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4841, allocations: 66.27 MB / 0.5386 GB, free: 45.48 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2048/0.689, allocations: 159.8 MB / 0.6946 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.7068, allocations: 14.31 MB / 0.7086 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008901/0.7078, allocations: 19.88 kB / 0.7086 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.709, allocations: 382.1 kB / 0.709 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.7118, allocations: 0.9113 MB / 0.7099 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005369/0.7172, allocations: 1.831 MB / 0.7117 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.7189, allocations: 0.7332 MB / 0.7124 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.7193, allocations: 193.7 kB / 0.7126 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.7216, allocations: 0.7637 MB / 0.7133 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.7221, allocations: 342.4 kB / 0.7136 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.7222, allocations: 32 kB / 0.7137 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006002/0.7282, allocations: 2.224 MB / 0.7158 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.7286, allocations: 127.4 kB / 0.716 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.7289, allocations: 165.3 kB / 0.7161 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.7322, allocations: 1.459 MB / 0.7175 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7322, allocations: 0 / 0.7175 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7323, allocations: 0 / 0.7175 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.7323, allocations: 0 / 0.7175 GB, free: 4.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002874/0.7352, allocations: 1.31 MB / 0.7188 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7352, allocations: 12.03 kB / 0.7188 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.7366, allocations: 198.7 kB / 0.719 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.7373, allocations: 452.6 kB / 0.7195 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.7376, allocations: 196 kB / 0.7196 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7377, allocations: 68 kB / 0.7197 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.7391, allocations: 0.7249 MB / 0.7204 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.7392, allocations: 0 / 0.7204 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.7392, allocations: 24 kB / 0.7204 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.7393, allocations: 16 kB / 0.7205 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.7407, allocations: 0.6499 MB / 0.7211 GB, free: 0.5703 MB / 0.5261 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.003972/0.7447, allocations: 2.715 MB / 0.7237 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7462, allocations: 0.6524 MB / 0.7244 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/0.7469, allocations: 0.6405 MB / 0.725 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.7469, allocations: 43.12 kB / 0.725 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 3.266e-06/0.7469, allocations: 0 / 0.725 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=62): time 0.005233/0.7522, allocations: 2.101 MB / 0.7271 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.7522, allocations: 59.97 kB / 0.7272 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.7528, allocations: 382 kB / 0.7275 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.7528, allocations: 37.7 kB / 0.7276 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.7531, allocations: 324.3 kB / 0.7279 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.7534, allocations: 216.8 kB / 0.7281 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.7534, allocations: 8 kB / 0.7281 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7536, allocations: 366.8 kB / 0.7284 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.7543, allocations: 289 kB / 0.7287 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.755, allocations: 296.9 kB / 0.729 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.7557, allocations: 294 kB / 0.7293 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7557, allocations: 0 / 0.7293 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003011/0.7587, allocations: 1.133 MB / 0.7304 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.7588, allocations: 8 kB / 0.7304 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7588, allocations: 0 / 0.7304 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008561/0.7597, allocations: 255.6 kB / 0.7306 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.7604, allocations: 151.8 kB / 0.7308 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.7666, allocations: 4.965 MB / 0.7356 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.7672, allocations: 83.59 kB / 0.7357 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.7674, allocations: 47.98 kB / 0.7357 GB, free: 0.6172 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (55): * Single equations (assignments): 50 * 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: 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.7677, allocations: 177.7 kB / 0.7359 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7678, allocations: 63.27 kB / 0.736 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.7715, allocations: 1.36 MB / 0.7373 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7715, allocations: 8 kB / 0.7373 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7715, allocations: 3.953 kB / 0.7373 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7715, allocations: 7.984 kB / 0.7373 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.7757, allocations: 2.125 MB / 0.7394 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7758, allocations: 8 kB / 0.7394 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.7765, allocations: 151.8 kB / 0.7395 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/0.7773, allocations: 266.2 kB / 0.7398 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/0.7774, allocations: 35.94 kB / 0.7398 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/0.7831, allocations: 4.971 MB / 0.7447 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7831, allocations: 4 kB / 0.7447 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.7871, allocations: 1.616 MB / 0.7463 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.7875, allocations: 196.2 kB / 0.7465 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.7876, allocations: 12 kB / 0.7465 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.7881, allocations: 67.91 kB / 0.7465 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.7883, allocations: 60.47 kB / 0.7466 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.7884, allocations: 51.98 kB / 0.7466 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003345/0.7887, allocations: 271.1 kB / 0.7469 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7887, allocations: 0 / 0.7469 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001478/0.7902, allocations: 0.5227 MB / 0.7474 GB, free: 4.113 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (57): * Single equations (assignments): 52 * 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: 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/0.7918, allocations: 0.8147 MB / 0.7482 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002713/0.7946, allocations: 1.25 MB / 0.7494 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7946, allocations: 4 kB / 0.7494 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.7963, allocations: 0.9536 MB / 0.7504 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.7971, allocations: 144.1 kB / 0.7505 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.263/1.06, allocations: 1.986 MB / 0.7524 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/1.061, allocations: 0.9416 MB / 0.7534 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001161/1.062, allocations: 182.7 kB / 0.7535 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.062, allocations: 95.62 kB / 0.7536 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.493e-06/1.062, allocations: 0 / 0.7536 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03463/1.097, allocations: 17.95 MB / 0.7712 GB, free: 176.8 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)