Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.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.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007842/0.0007846, allocations: 171 kB / 16.11 MB, free: 5.656 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.18/1.18, allocations: 205 MB / 221.9 MB, free: 9.148 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.000681/0.000681, allocations: 92.09 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.593/0.593, allocations: 90.51 MB / 408.3 MB, free: 3.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 11.98 kB / 484.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 65.8 MB / 0.5378 GB, free: 35.02 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.45/0.6782, allocations: 271.5 MB / 0.8028 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.6946, allocations: 16.33 MB / 0.8188 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.6956, allocations: 15.88 kB / 0.8188 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.6977, allocations: 0.8907 MB / 0.8197 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.7094, allocations: 4.678 MB / 0.8242 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.008913/0.7183, allocations: 3.449 MB / 0.8276 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.7207, allocations: 2.558 MB / 0.8301 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.721, allocations: 298.3 kB / 0.8304 GB, free: 8 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.7227, allocations: 1.035 MB / 0.8314 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.7233, allocations: 0.6963 MB / 0.8321 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.7234, allocations: 44 kB / 0.8321 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02213/0.7455, allocations: 15.08 MB / 0.8469 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.746, allocations: 302.7 kB / 0.8471 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.7466, allocations: 0.5284 MB / 0.8477 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.7646, allocations: 7.857 MB / 0.8553 GB, free: 14.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7647, allocations: 0 / 0.8553 GB, free: 14.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7647, allocations: 0 / 0.8553 GB, free: 14.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.215e-05/0.7648, allocations: 0 / 0.8553 GB, free: 14.41 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006147/0.7709, allocations: 2.65 MB / 0.8579 GB, free: 11.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.771, allocations: 11.97 kB / 0.8579 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.7713, allocations: 118.6 kB / 0.858 GB, free: 11.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.7721, allocations: 0.5993 MB / 0.8586 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.7722, allocations: 69.98 kB / 0.8587 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.7724, allocations: 91.91 kB / 0.8588 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.7744, allocations: 1.422 MB / 0.8602 GB, free: 9.34 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.7745, allocations: 4 kB / 0.8602 GB, free: 9.336 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.7746, allocations: 35.98 kB / 0.8602 GB, free: 9.301 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.7747, allocations: 81.95 kB / 0.8603 GB, free: 9.223 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.7767, allocations: 1.558 MB / 0.8618 GB, free: 7.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005889/0.7826, allocations: 5.307 MB / 0.867 GB, free: 1.801 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.7842, allocations: 0.9458 MB / 0.8679 GB, free: 0.8438 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.7851, allocations: 0.7825 MB / 0.8687 GB, free: 52 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/0.7886, allocations: 4.611 MB / 0.8732 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7887, allocations: 43.69 kB / 0.8732 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=122): time 3.917e-06/0.7887, allocations: 0 / 0.8732 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=122): time 0.003891/0.7926, allocations: 2.35 MB / 0.8755 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.7926, allocations: 90.23 kB / 0.8756 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.7931, allocations: 495 kB / 0.8761 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.7932, allocations: 45.7 kB / 0.8761 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.7934, allocations: 361.1 kB / 0.8765 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.7937, allocations: 413.9 kB / 0.8769 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.7937, allocations: 20 kB / 0.8769 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7939, allocations: 386.7 kB / 0.8773 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.7946, allocations: 0.5369 MB / 0.8778 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/0.7954, allocations: 0.606 MB / 0.8784 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.7971, allocations: 1.223 MB / 0.8796 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7971, allocations: 0 / 0.8796 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0023/0.7994, allocations: 1.54 MB / 0.8811 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7994, allocations: 4 kB / 0.8811 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7995, allocations: 0 / 0.8811 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.7998, allocations: 117.6 kB / 0.8812 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.8005, allocations: 187.8 kB / 0.8814 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.8029, allocations: 3.132 MB / 0.8844 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.8034, allocations: 91.17 kB / 0.8845 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.8036, allocations: 99.97 kB / 0.8846 GB, free: 14.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003833/0.804, allocations: 259.5 kB / 0.8848 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.8042, allocations: 86.91 kB / 0.8849 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.8079, allocations: 1.977 MB / 0.8869 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.8079, allocations: 3.984 kB / 0.8869 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.8079, allocations: 7.984 kB / 0.8869 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.8081, allocations: 171.8 kB / 0.887 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.8082, allocations: 23.94 kB / 0.8871 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.8087, allocations: 55.67 kB / 0.8871 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.8089, allocations: 113 kB / 0.8872 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002877/0.8118, allocations: 1.817 MB / 0.889 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003351/0.8152, allocations: 2.642 MB / 0.8916 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009006/0.8161, allocations: 0.735 MB / 0.8923 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003382/0.8164, allocations: 350.8 kB / 0.8926 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.8164, allocations: 0 / 0.8926 GB, free: 6.223 MB / 0.6042 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.01041/0.8269, allocations: 4.407 MB / 0.8969 GB, free: 1.777 MB / 0.6042 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState301.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState370.X Notification: Performance of SimCode: time 0.003249/0.8301, allocations: 2.828 MB / 0.8997 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.2563/1.086, allocations: 68.52 MB / 0.9666 GB, free: 251.2 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1)