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.00773/0.00773, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.627/1.627, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0007693/0.0007693, allocations: 82.38 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.682/0.682, allocations: 90.61 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12 kB / 485.3 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, 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.212/0.5511, allocations: 194.6 MB / 0.7286 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.5695, allocations: 15.01 MB / 0.7433 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.5704, allocations: 15.94 kB / 0.7433 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.5718, allocations: 381.8 kB / 0.7437 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.5751, allocations: 0.8703 MB / 0.7445 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00564/0.5807, allocations: 1.82 MB / 0.7463 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.5826, allocations: 1.152 MB / 0.7474 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.5832, allocations: 201.1 kB / 0.7476 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.5854, allocations: 0.8529 MB / 0.7484 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.5862, allocations: 386.2 kB / 0.7488 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.5864, allocations: 32 kB / 0.7488 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00671/0.5931, allocations: 2.836 MB / 0.7516 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.5933, allocations: 127.4 kB / 0.7517 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.5937, allocations: 165.3 kB / 0.7519 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.3075/0.9012, allocations: 1.513 MB / 0.7534 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.9012, allocations: 0.7812 kB / 0.7534 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9012, allocations: 1.859 kB / 0.7534 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.724e-05/0.9013, allocations: 0.8438 kB / 0.7534 GB, free: 11.82 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003275/0.9046, allocations: 1.316 MB / 0.7547 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9046, allocations: 11.53 kB / 0.7547 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.9061, allocations: 197.4 kB / 0.7549 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.9069, allocations: 477.1 kB / 0.7553 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.9072, allocations: 184.4 kB / 0.7555 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.9073, allocations: 67.41 kB / 0.7555 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.9089, allocations: 0.7257 MB / 0.7563 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.9089, allocations: 1.734 kB / 0.7563 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.909, allocations: 27.06 kB / 0.7563 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.909, allocations: 17.72 kB / 0.7563 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.9104, allocations: 0.6504 MB / 0.7569 GB, free: 10.85 MB / 0.5573 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.00359/0.914, allocations: 2.725 MB / 0.7596 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.9153, allocations: 0.6515 MB / 0.7602 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.916, allocations: 377.8 kB / 0.7606 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.9178, allocations: 1.903 MB / 0.7625 GB, free: 23.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.9178, allocations: 44.09 kB / 0.7625 GB, free: 23.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 4.258e-06/0.9178, allocations: 3.594 kB / 0.7625 GB, free: 23.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.00489/0.9227, allocations: 1.944 MB / 0.7644 GB, free: 23.23 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.9228, allocations: 58.03 kB / 0.7645 GB, free: 23.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.9232, allocations: 389.5 kB / 0.7648 GB, free: 23.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.9233, allocations: 34.36 kB / 0.7649 GB, free: 23.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.9235, allocations: 319.3 kB / 0.7652 GB, free: 22.87 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.9236, allocations: 210.4 kB / 0.7654 GB, free: 22.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.9237, allocations: 9.875 kB / 0.7654 GB, free: 22.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9238, allocations: 366 kB / 0.7657 GB, free: 22.42 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.9245, allocations: 290.1 kB / 0.766 GB, free: 22.41 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.9251, allocations: 293.3 kB / 0.7663 GB, free: 22.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.9257, allocations: 293.8 kB / 0.7666 GB, free: 22.39 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9258, allocations: 3.953 kB / 0.7666 GB, free: 22.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002936/0.9287, allocations: 1.13 MB / 0.7677 GB, free: 22.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9287, allocations: 4.312 kB / 0.7677 GB, free: 22.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9288, allocations: 0 / 0.7677 GB, free: 22.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008541/0.9296, allocations: 261.4 kB / 0.7679 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.9304, allocations: 147.8 kB / 0.7681 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.9364, allocations: 4.896 MB / 0.7728 GB, free: 18.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.9371, allocations: 78.59 kB / 0.7729 GB, free: 18.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.9373, allocations: 55.17 kB / 0.773 GB, free: 18.38 MB / 0.573 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.0004138/0.9377, allocations: 179.2 kB / 0.7731 GB, free: 18.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.9379, allocations: 54.56 kB / 0.7732 GB, free: 18.24 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.9421, allocations: 1.372 MB / 0.7745 GB, free: 18.08 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.9421, allocations: 6.938 kB / 0.7745 GB, free: 18.08 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.9421, allocations: 3.859 kB / 0.7745 GB, free: 18.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.9422, allocations: 4.297 kB / 0.7745 GB, free: 18.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.9471, allocations: 2.145 MB / 0.7766 GB, free: 17.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.9471, allocations: 3.656 kB / 0.7766 GB, free: 17.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.9479, allocations: 153.1 kB / 0.7768 GB, free: 17.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007987/0.9487, allocations: 265 kB / 0.777 GB, free: 17.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.9488, allocations: 31.53 kB / 0.7771 GB, free: 17.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.9545, allocations: 4.894 MB / 0.7818 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9545, allocations: 7.312 kB / 0.7819 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.9586, allocations: 1.593 MB / 0.7834 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.959, allocations: 203.6 kB / 0.7836 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.774e-05/0.9591, allocations: 24.25 kB / 0.7836 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.9596, allocations: 57.19 kB / 0.7837 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.9598, allocations: 62.8 kB / 0.7837 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.9599, allocations: 48.58 kB / 0.7838 GB, free: 13.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003522/0.9602, allocations: 274.6 kB / 0.7841 GB, free: 13.33 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9602, allocations: 0.8125 kB / 0.7841 GB, free: 13.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001724/0.962, allocations: 0.525 MB / 0.7846 GB, free: 13.26 MB / 0.573 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.001715/0.9637, allocations: 0.8109 MB / 0.7854 GB, free: 13.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.9665, allocations: 1.255 MB / 0.7866 GB, free: 12.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9665, allocations: 1.312 kB / 0.7866 GB, free: 12.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.9684, allocations: 0.9522 MB / 0.7875 GB, free: 12.19 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.9694, allocations: 160.3 kB / 0.7877 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.9725, allocations: 1.985 MB / 0.7896 GB, free: 11.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.9731, allocations: 0.9332 MB / 0.7905 GB, free: 10.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9743, allocations: 185.5 kB / 0.7907 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.9747, allocations: 94.58 kB / 0.7908 GB, free: 10.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.001e-06/0.9747, allocations: 0 / 0.7908 GB, free: 10.4 MB / 0.573 GB Notification: Performance of Templates: time 0.02663/1.001, allocations: 17.96 MB / 0.8083 GB, free: 6.27 MB / 0.573 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)