Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 108.4 kB / 19.97 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 189.6 kB / 23.28 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 252.1 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7676/0.7676, allocations: 94.59 MB / 402 MB, free: 15.04 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump") translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 82.19 kB / 0.5484 GB, free: 42.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1047, allocations: 71.88 MB / 0.6186 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.1188/0.2235, allocations: 101.8 MB / 0.7181 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.36/0.5835, allocations: 34.22 MB / 0.7515 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.5848, allocations: 67.72 kB / 0.7516 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.5873, allocations: 1.087 MB / 0.7526 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.5918, allocations: 1.833 MB / 0.7544 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.6073, allocations: 6.601 MB / 0.7609 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.6102, allocations: 2.318 MB / 0.7631 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.6108, allocations: 343.3 kB / 0.7635 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008862/0.6197, allocations: 4.149 MB / 0.7675 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.6214, allocations: 0.9673 MB / 0.7684 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.6217, allocations: 141.1 kB / 0.7686 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.6398, allocations: 8.783 MB / 0.7772 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.6403, allocations: 355.3 kB / 0.7775 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.6417, allocations: 0.8607 MB / 0.7783 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.6569, allocations: 6.851 MB / 0.785 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6569, allocations: 2.531 kB / 0.785 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6569, allocations: 0 / 0.785 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.38e-05/0.6569, allocations: 0 / 0.785 GB, free: 0.6641 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.008001/0.6649, allocations: 2.921 MB / 0.7879 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6649, allocations: 9.906 kB / 0.7879 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.6661, allocations: 318 kB / 0.7882 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.6681, allocations: 1.154 MB / 0.7893 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.6681, allocations: 98.27 kB / 0.7894 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.6683, allocations: 121.9 kB / 0.7895 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.6713, allocations: 1.517 MB / 0.791 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.6713, allocations: 3.469 kB / 0.791 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.6714, allocations: 54.28 kB / 0.7911 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/0.6715, allocations: 48.27 kB / 0.7911 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.6741, allocations: 1.282 MB / 0.7924 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008949/0.683, allocations: 7.247 MB / 0.7994 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.6852, allocations: 0.9629 MB / 0.8004 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.6859, allocations: 474.4 kB / 0.8008 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1096/0.7954, allocations: 51.85 MB / 0.8515 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.7955, allocations: 44 kB / 0.8515 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.895e-06/0.7955, allocations: 3.844 kB / 0.8515 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=90): time 0.008398/0.8039, allocations: 3.319 MB / 0.8548 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.8039, allocations: 60.41 kB / 0.8548 GB, free: 3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.8054, allocations: 0.9506 MB / 0.8557 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.8055, allocations: 42.02 kB / 0.8558 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.806, allocations: 0.6627 MB / 0.8564 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.8062, allocations: 333.8 kB / 0.8567 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.8065, allocations: 164.1 kB / 0.8569 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8067, allocations: 339.9 kB / 0.8572 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.8073, allocations: 334.7 kB / 0.8575 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.808, allocations: 461.1 kB / 0.858 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.8094, allocations: 0.8612 MB / 0.8588 GB, free: 48 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8094, allocations: 0 / 0.8588 GB, free: 48 kB / 0.6387 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002425/0.8119, allocations: 1.18 MB / 0.86 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.8119, allocations: 4 kB / 0.86 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8119, allocations: 4.344 kB / 0.86 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.8125, allocations: 168.8 kB / 0.8601 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.8132, allocations: 166.8 kB / 0.8603 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.8169, allocations: 2.708 MB / 0.863 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.8177, allocations: 22.38 kB / 0.863 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8178, allocations: 34.22 kB / 0.863 GB, free: 12.67 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 10 (source2_2.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,source2_1.outlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.phase,dynamicJunctionN2_1.junction.outlet.state.phase,checkValve.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006902/0.8185, allocations: 308.6 kB / 0.8633 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.8188, allocations: 139.1 kB / 0.8634 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.8231, allocations: 3.018 MB / 0.8664 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.8231, allocations: 3.984 kB / 0.8664 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8231, allocations: 0 / 0.8664 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.8236, allocations: 241.8 kB / 0.8666 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.8238, allocations: 35.84 kB / 0.8666 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.8244, allocations: 30.8 kB / 0.8667 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8246, allocations: 85.36 kB / 0.8668 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003338/0.8279, allocations: 1.809 MB / 0.8685 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003887/0.8318, allocations: 2.603 MB / 0.8711 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009462/0.8327, allocations: 0.6179 MB / 0.8717 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001252/0.834, allocations: 0.7426 MB / 0.8724 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of Backend: time 8.01e-07/0.834, allocations: 3.938 kB / 0.8724 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01126/0.8453, allocations: 2.866 MB / 0.8752 GB, free: 2.23 MB / 0.6544 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor8.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor8.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10484:11-10484:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) Notification: Performance of SimCode: time 0.00643/0.8517, allocations: 3.471 MB / 0.8786 GB, free: 14.73 MB / 0.67 GB Notification: Performance of Templates: time 0.1095/0.9612, allocations: 66.12 MB / 0.9432 GB, free: 12.98 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.VenturiPump.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 10.862653173971921] Failed to read output from testmodel.py, exit status != 0: 0.9696630029939115 0.98587942 0.32548080399999996 Calling exit ...