Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 78.97 kB / 21.29 MB, free: 380 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 159 kB / 24.54 MB, free: 3.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1397/0.1397, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.89 kB / 417.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2772, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified): time 0.5343/0.8115, allocations: 224.9 MB / 0.6865 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008047/0.8195, allocations: 4.77 MB / 0.6912 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.8211, allocations: 47.66 kB / 0.6912 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.8232, allocations: 0.8905 MB / 0.6921 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.8266, allocations: 1.576 MB / 0.6937 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00646/0.8331, allocations: 2.57 MB / 0.6962 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.8436, allocations: 12.43 MB / 0.7083 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/0.849, allocations: 3.312 MB / 0.7115 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01417/0.8631, allocations: 5.878 MB / 0.7173 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007326/0.8705, allocations: 4.122 MB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.8723, allocations: 1.055 MB / 0.7223 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09313/0.9655, allocations: 36.65 MB / 0.7581 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005318/0.9708, allocations: 3.191 MB / 0.7612 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00863/0.9794, allocations: 3.403 MB / 0.7646 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.9975, allocations: 13.33 MB / 0.7776 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9975, allocations: 0 / 0.7776 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9976, allocations: 2.531 kB / 0.7776 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002575/0.9978, allocations: 3.938 kB / 0.7776 GB, free: 11.46 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.02474/1.023, allocations: 6.717 MB / 0.7841 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.023, allocations: 12.62 kB / 0.7842 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.034, allocations: 1.874 MB / 0.786 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/1.044, allocations: 3.593 MB / 0.7895 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005693/1.044, allocations: 427.6 kB / 0.7899 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/1.047, allocations: 0.6553 MB / 0.7905 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/1.073, allocations: 11.87 MB / 0.8021 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/1.073, allocations: 7.188 kB / 0.8021 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/1.074, allocations: 206.4 kB / 0.8023 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000481/1.075, allocations: 401.9 kB / 0.8027 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/1.1, allocations: 12.34 MB / 0.8148 GB, free: 4.977 MB / 0.6231 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.0656/1.166, allocations: 26.8 MB / 0.841 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02551/1.191, allocations: 10.27 MB / 0.851 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008086/1.2, allocations: 4.05 MB / 0.8549 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03272/1.232, allocations: 15.53 MB / 0.8701 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008414/1.241, allocations: 5.168 MB / 0.8752 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=507): time 9.438e-06/1.241, allocations: 0 / 0.8752 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=507): time 0.05813/1.299, allocations: 16.54 MB / 0.8913 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/1.299, allocations: 265.6 kB / 0.8916 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/1.302, allocations: 2.136 MB / 0.8936 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.304, allocations: 121.7 kB / 0.8938 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.305, allocations: 1.934 MB / 0.8956 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002922/1.308, allocations: 1.878 MB / 0.8975 GB, free: 364 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002464/1.311, allocations: 1.134 MB / 0.8986 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.311, allocations: 301.1 kB / 0.8989 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007343/1.318, allocations: 3.946 MB / 0.9027 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009415/1.328, allocations: 5.725 MB / 0.9083 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2297/1.557, allocations: 10.01 MB / 0.9181 GB, free: 333.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.038e-05/1.558, allocations: 13.16 kB / 0.9181 GB, free: 333.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02954/1.587, allocations: 13.6 MB / 0.9314 GB, free: 328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/1.587, allocations: 22.28 kB / 0.9314 GB, free: 328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/1.587, allocations: 49.09 kB / 0.9315 GB, free: 328 MB / 0.7169 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.06293/1.65, allocations: 14.25 MB / 0.9454 GB, free: 318.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.653, allocations: 0.7527 MB / 0.9461 GB, free: 317.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/1.677, allocations: 15.31 MB / 0.9611 GB, free: 302.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/1.683, allocations: 0.6291 MB / 0.9617 GB, free: 302.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.684, allocations: 287.9 kB / 0.9619 GB, free: 301.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00796/1.692, allocations: 5.427 MB / 0.9672 GB, free: 296.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006135/1.698, allocations: 5.702 MB / 0.9728 GB, free: 290 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01241/1.711, allocations: 9.968 MB / 0.9826 GB, free: 279.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.365e-05/1.711, allocations: 16 kB / 0.9826 GB, free: 279.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=763) (initialization_lambda0): time 0.02139/1.732, allocations: 12.66 MB / 0.9949 GB, free: 266.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.732, allocations: 24 kB / 0.995 GB, free: 266.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/1.732, allocations: 48 kB / 0.995 GB, free: 266.6 MB / 0.7169 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.03234/1.765, allocations: 10.05 MB / 1.005 GB, free: 256.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.768, allocations: 0.8736 MB / 1.006 GB, free: 255.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/1.787, allocations: 14.73 MB / 1.02 GB, free: 240.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.793, allocations: 0.5516 MB / 1.021 GB, free: 240.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.794, allocations: 283.9 kB / 1.021 GB, free: 240.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * Number of states: 0 () * Number of discrete variables: 12 (DigitalPI1.firstTrigger,$PRE.DigitalPI1.firstTrigger,DigitalPI1.sampleTrigger,$whenCondition1,Plant.Boiler.GasSide.friction.NoFriction,Plant.Boiler.WaterSide.friction.NoFriction,DigitalPI1.CS,DigitalPI1.CSwind,DigitalPI1.e_int_wind,DigitalPI1.e_int,$PRE.DigitalPI1.e_int,DigitalPI1.e) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(33,311)} Notification: Performance of prepare postOptimizeDAE: time 0.001493/1.796, allocations: 0.5213 MB / 1.021 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.797, allocations: 357.9 kB / 1.022 GB, free: 239.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02293/1.82, allocations: 11.69 MB / 1.033 GB, free: 227.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/1.82, allocations: 23.91 kB / 1.033 GB, free: 227.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/1.82, allocations: 4 kB / 1.033 GB, free: 227.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/1.823, allocations: 1.404 MB / 1.035 GB, free: 226.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.825, allocations: 148 kB / 1.035 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00441/1.829, allocations: 215.8 kB / 1.035 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001365/1.83, allocations: 470.9 kB / 1.035 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02698/1.857, allocations: 11.92 MB / 1.047 GB, free: 213.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0182/1.876, allocations: 13.44 MB / 1.06 GB, free: 200 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005631/1.881, allocations: 4.213 MB / 1.064 GB, free: 195.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001641/1.883, allocations: 1.353 MB / 1.066 GB, free: 194.4 MB / 0.7169 GB Notification: Performance of Backend: time 5.61e-07/1.883, allocations: 0 / 1.066 GB, free: 194.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03339/1.916, allocations: 12.96 MB / 1.078 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01459/1.931, allocations: 11.47 MB / 1.089 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.1785/2.109, allocations: 159 MB / 1.245 GB, free: 11.65 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.057952728006057] Failed to read output from testmodel.py, exit status != 0: 2.1195429268991575 2.300467045 1.299678087 Calling exit ...