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.001648/0.001648, allocations: 116.2 kB / 16.42 MB, free: 6.473 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.001792/0.001792, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6548/0.6548, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 76.2 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2821, allocations: 67.68 MB / 0.5836 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1478/0.4299, allocations: 149.4 MB / 0.7295 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2906/0.7205, allocations: 12 MB / 0.7412 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.721, allocations: 21.56 kB / 0.7412 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.7218, allocations: 295.3 kB / 0.7415 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.723, allocations: 0.5531 MB / 0.742 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.7248, allocations: 0.7172 MB / 0.7427 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.7255, allocations: 0.9186 MB / 0.7436 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.7258, allocations: 172 kB / 0.7438 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.7263, allocations: 389.9 kB / 0.7442 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.7269, allocations: 475.1 kB / 0.7446 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.727, allocations: 53.94 kB / 0.7447 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.7291, allocations: 1.05 MB / 0.7457 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.7293, allocations: 148.8 kB / 0.7458 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.7297, allocations: 323.8 kB / 0.7461 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.7313, allocations: 1.108 MB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7313, allocations: 0 / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7313, allocations: 3.406 kB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7313, allocations: 0.8125 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.001822/0.7331, allocations: 1.08 MB / 0.7483 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.7332, allocations: 8.156 kB / 0.7483 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.7333, allocations: 78.42 kB / 0.7484 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.7341, allocations: 0.5018 MB / 0.7488 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7342, allocations: 94.47 kB / 0.7489 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.7343, allocations: 52.61 kB / 0.749 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.7353, allocations: 0.6635 MB / 0.7496 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7354, allocations: 2.938 kB / 0.7496 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.7354, allocations: 17.09 kB / 0.7497 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.7355, allocations: 23.33 kB / 0.7497 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.7366, allocations: 0.6697 MB / 0.7503 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.7403, allocations: 2.451 MB / 0.7527 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.7414, allocations: 0.6248 MB / 0.7533 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.742, allocations: 363.4 kB / 0.7537 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.7442, allocations: 2.616 MB / 0.7562 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.7443, allocations: 38 kB / 0.7563 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.7443, allocations: 2.5 kB / 0.7563 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003653/0.7479, allocations: 2.165 MB / 0.7584 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.748, allocations: 111.4 kB / 0.7585 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.7484, allocations: 425.6 kB / 0.7589 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.7484, allocations: 34.52 kB / 0.7589 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7485, allocations: 250.5 kB / 0.7592 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.7487, allocations: 228.8 kB / 0.7594 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.7488, allocations: 112.4 kB / 0.7595 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.749, allocations: 369.5 kB / 0.7599 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.7494, allocations: 255.1 kB / 0.7601 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.7499, allocations: 344.9 kB / 0.7604 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.7508, allocations: 0.6076 MB / 0.761 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7508, allocations: 0.8125 kB / 0.761 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001408/0.7522, allocations: 0.8459 MB / 0.7618 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7523, allocations: 6.938 kB / 0.7619 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.7523, allocations: 5.938 kB / 0.7619 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.7527, allocations: 139.6 kB / 0.762 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.7532, allocations: 111.8 kB / 0.7621 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.7556, allocations: 2.464 MB / 0.7645 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.7559, allocations: 22.77 kB / 0.7645 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.756, allocations: 28.25 kB / 0.7646 GB, free: 8.934 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.0002271/0.7562, allocations: 201.8 kB / 0.7647 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.7563, allocations: 59 kB / 0.7648 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.758, allocations: 1.034 MB / 0.7658 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.7581, allocations: 4.156 kB / 0.7658 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.7581, allocations: 4.156 kB / 0.7658 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.7582, allocations: 126.6 kB / 0.7659 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.7583, allocations: 13.97 kB / 0.766 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.7586, allocations: 25.56 kB / 0.766 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.7587, allocations: 55.72 kB / 0.766 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001797/0.7605, allocations: 0.8967 MB / 0.7669 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00162/0.7621, allocations: 1.211 MB / 0.7681 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004415/0.7625, allocations: 306 kB / 0.7684 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003118/0.7629, allocations: 328.5 kB / 0.7687 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of Backend: time 5.31e-07/0.7629, allocations: 2 kB / 0.7687 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002/0.7649, allocations: 1.032 MB / 0.7697 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002175/0.7671, allocations: 1.917 MB / 0.7716 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of Templates: time 0.02049/0.7876, allocations: 14.96 MB / 0.7862 GB, free: 4.07 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)