Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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 (/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: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.5 kB / 16.42 MB, free: 6.516 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.001193/0.001193, allocations: 190.7 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6598/0.6598, allocations: 91.18 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 75.89 kB / 0.5175 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2745, allocations: 67.69 MB / 0.5836 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1473/0.4218, allocations: 149.4 MB / 0.7295 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2869/0.7087, allocations: 12 MB / 0.7412 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.7093, allocations: 18.16 kB / 0.7412 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.7101, allocations: 301 kB / 0.7415 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.7113, allocations: 0.5494 MB / 0.742 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.713, allocations: 0.7196 MB / 0.7427 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.7138, allocations: 0.923 MB / 0.7436 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.7141, allocations: 165.5 kB / 0.7438 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.7146, allocations: 393.3 kB / 0.7442 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.7152, allocations: 469.1 kB / 0.7446 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.7154, allocations: 53.66 kB / 0.7447 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.7175, allocations: 1.053 MB / 0.7457 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.7177, allocations: 150.9 kB / 0.7458 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.7181, allocations: 328.4 kB / 0.7461 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.7195, allocations: 1.104 MB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7195, allocations: 1 kB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7195, allocations: 0 / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7196, allocations: 0.9375 kB / 0.7472 GB, free: 1.27 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001992/0.7216, allocations: 1.055 MB / 0.7482 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7216, allocations: 9.031 kB / 0.7483 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.7218, allocations: 71.31 kB / 0.7483 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.7225, allocations: 0.5033 MB / 0.7488 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.7226, allocations: 91.97 kB / 0.7489 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.7227, allocations: 57.53 kB / 0.749 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.7236, allocations: 0.6631 MB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.7236, allocations: 0.9062 kB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.7237, allocations: 19.47 kB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.7237, allocations: 19.72 kB / 0.7496 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.725, allocations: 0.6666 MB / 0.7503 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.7284, allocations: 2.449 MB / 0.7527 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.7295, allocations: 0.6271 MB / 0.7533 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.7301, allocations: 354.5 kB / 0.7536 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/0.7324, allocations: 2.622 MB / 0.7562 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7325, allocations: 40.5 kB / 0.7562 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/0.7325, allocations: 1 kB / 0.7562 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003721/0.7362, allocations: 2.149 MB / 0.7583 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.7363, allocations: 114.5 kB / 0.7584 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.7367, allocations: 424.2 kB / 0.7588 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.7367, allocations: 36.83 kB / 0.7589 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.7369, allocations: 247.6 kB / 0.7591 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.737, allocations: 222.5 kB / 0.7593 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.7371, allocations: 110.8 kB / 0.7594 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7373, allocations: 369 kB / 0.7598 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.7377, allocations: 255.4 kB / 0.76 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.7382, allocations: 346.3 kB / 0.7604 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.7391, allocations: 0.6115 MB / 0.761 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7391, allocations: 0.875 kB / 0.761 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001385/0.7405, allocations: 0.8386 MB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7406, allocations: 5.219 kB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7406, allocations: 4.25 kB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.741, allocations: 139.3 kB / 0.7619 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.7415, allocations: 113.7 kB / 0.762 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.7439, allocations: 2.46 MB / 0.7644 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.7442, allocations: 25.91 kB / 0.7645 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.7443, allocations: 25.67 kB / 0.7645 GB, free: 8.992 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.7446, allocations: 202.8 kB / 0.7647 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.7447, allocations: 58.34 kB / 0.7647 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.7464, allocations: 1.03 MB / 0.7657 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7464, allocations: 6.578 kB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7464, allocations: 6.156 kB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.7465, allocations: 128.8 kB / 0.7659 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.7466, allocations: 13.53 kB / 0.7659 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.7469, allocations: 22.14 kB / 0.7659 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.747, allocations: 54.92 kB / 0.766 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001874/0.7489, allocations: 0.887 MB / 0.7668 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001674/0.7506, allocations: 1.21 MB / 0.768 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004548/0.7511, allocations: 312 kB / 0.7683 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003082/0.7514, allocations: 331.6 kB / 0.7686 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of Backend: time 6.31e-07/0.7514, allocations: 0 / 0.7686 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.7534, allocations: 1.023 MB / 0.7696 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002347/0.7558, allocations: 1.893 MB / 0.7715 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of Templates: time 0.02182/0.7776, allocations: 14.96 MB / 0.7861 GB, free: 4.215 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1)