Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.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.001839/0.001839, allocations: 120.5 kB / 20.19 MB, free: 1.684 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.002243/0.002243, allocations: 199.9 kB / 23.43 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 207.6 MB / 234.1 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3067/0.3067, allocations: 49.52 MB / 335.8 MB, free: 4.504 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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 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(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 71.89 kB / 475.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1516, allocations: 62.32 MB / 0.5256 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified): time 0.9203/1.072, allocations: 259.1 MB / 0.7786 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009341/1.081, allocations: 5.722 MB / 0.7842 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/1.083, allocations: 34.78 kB / 0.7843 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/1.085, allocations: 0.89 MB / 0.7851 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/1.089, allocations: 1.5 MB / 0.7866 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00725/1.096, allocations: 2.849 MB / 0.7894 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01442/1.11, allocations: 12.06 MB / 0.8012 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006298/1.117, allocations: 3.243 MB / 0.8043 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008581/1.125, allocations: 3.795 MB / 0.808 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008578/1.134, allocations: 3.991 MB / 0.8119 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004091/1.138, allocations: 1.023 MB / 0.8129 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08205/1.22, allocations: 37.01 MB / 0.8491 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00599/1.226, allocations: 3.092 MB / 0.8521 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009498/1.235, allocations: 3.866 MB / 0.8559 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01949/1.255, allocations: 12.7 MB / 0.8683 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.255, allocations: 0 / 0.8683 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/1.255, allocations: 0 / 0.8683 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000341/1.255, allocations: 0 / 0.8683 GB, free: 2.941 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1246 * Number of variables: 1246 Notification: Performance of Generate backend data structure: time 0.02674/1.282, allocations: 6.562 MB / 0.8747 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.282, allocations: 11.89 kB / 0.8747 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.295, allocations: 1.838 MB / 0.8765 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/1.306, allocations: 3.498 MB / 0.8799 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000578/1.307, allocations: 359.4 kB / 0.8802 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003852/1.311, allocations: 0.6351 MB / 0.8809 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/1.335, allocations: 9.772 MB / 0.8904 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-05/1.335, allocations: 7.094 kB / 0.8904 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/1.336, allocations: 194.5 kB / 0.8906 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/1.337, allocations: 337.4 kB / 0.8909 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.361, allocations: 12.06 MB / 0.9027 GB, free: 15.66 MB / 0.67 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.07433/1.435, allocations: 34.66 MB / 0.9365 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02693/1.462, allocations: 10.46 MB / 0.9468 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008456/1.47, allocations: 4.067 MB / 0.9507 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04549/1.516, allocations: 22.55 MB / 0.9728 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0099/1.526, allocations: 4.355 MB / 0.977 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=507): time 1.485e-05/1.526, allocations: 0 / 0.977 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=507): time 0.06361/1.589, allocations: 18.27 MB / 0.9948 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.589, allocations: 261.6 kB / 0.9951 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/1.593, allocations: 2.13 MB / 0.9972 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001579/1.595, allocations: 121.7 kB / 0.9973 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/1.597, allocations: 1.811 MB / 0.9991 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00362/1.6, allocations: 1.88 MB / 1.001 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003379/1.604, allocations: 1.125 MB / 1.002 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.604, allocations: 309.1 kB / 1.002 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008464/1.612, allocations: 3.961 MB / 1.006 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.624, allocations: 5.576 MB / 1.012 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02012/1.644, allocations: 10.04 MB / 1.021 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/1.644, allocations: 16 kB / 1.021 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03535/1.679, allocations: 13.63 MB / 1.035 GB, free: 4.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/1.679, allocations: 35.92 kB / 1.035 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/1.679, allocations: 44 kB / 1.035 GB, free: 4.578 MB / 0.795 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.06908/1.748, allocations: 14.31 MB / 1.049 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/1.752, allocations: 0.7624 MB / 1.05 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2741/2.026, allocations: 15.34 MB / 1.065 GB, free: 405 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007077/2.033, allocations: 0.648 MB / 1.065 GB, free: 405 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/2.035, allocations: 286.7 kB / 1.065 GB, free: 404.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01083/2.045, allocations: 5.349 MB / 1.071 GB, free: 402.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007645/2.053, allocations: 5.545 MB / 1.076 GB, free: 398.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01433/2.067, allocations: 10 MB / 1.086 GB, free: 393.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-05/2.067, allocations: 16.66 kB / 1.086 GB, free: 393.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=762) (initialization_lambda0): time 0.02118/2.089, allocations: 12.7 MB / 1.098 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/2.089, allocations: 23.03 kB / 1.098 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-05/2.089, allocations: 48.66 kB / 1.098 GB, free: 387.6 MB / 0.8106 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.03081/2.12, allocations: 10.09 MB / 1.108 GB, free: 385.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/2.123, allocations: 0.8768 MB / 1.109 GB, free: 385.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/2.141, allocations: 14.93 MB / 1.124 GB, free: 371.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/2.147, allocations: 0.5556 MB / 1.124 GB, free: 370.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007755/2.148, allocations: 279.9 kB / 1.124 GB, free: 370.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * Number of states: 0 () * Number of discrete variables: 10 (DigitalPI1.firstTrigger,$PRE.DigitalPI1.firstTrigger,DigitalPI1.sampleTrigger,$whenCondition1,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 (419): * Single equations (assignments): 415 * 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.001596/2.149, allocations: 0.5176 MB / 1.125 GB, free: 370.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/2.15, allocations: 365.8 kB / 1.125 GB, free: 369.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02264/2.173, allocations: 11.76 MB / 1.137 GB, free: 358 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/2.173, allocations: 29.56 kB / 1.137 GB, free: 358 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/2.173, allocations: 0 / 1.137 GB, free: 358 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/2.177, allocations: 1.494 MB / 1.138 GB, free: 356.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/2.178, allocations: 149.9 kB / 1.138 GB, free: 356.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/2.182, allocations: 215.6 kB / 1.139 GB, free: 356.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000826/2.183, allocations: 447.2 kB / 1.139 GB, free: 355.7 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02655/2.21, allocations: 12.02 MB / 1.151 GB, free: 343.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01852/2.228, allocations: 13.52 MB / 1.164 GB, free: 330.3 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005585/2.234, allocations: 4.23 MB / 1.168 GB, free: 326 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001735/2.236, allocations: 1.406 MB / 1.169 GB, free: 324.6 MB / 0.8106 GB Notification: Performance of Backend: time 4.9e-07/2.236, allocations: 0 / 1.169 GB, free: 324.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.03678/2.272, allocations: 12.98 MB / 1.182 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01638/2.289, allocations: 11.29 MB / 1.193 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.2035/2.492, allocations: 192.2 MB / 1.381 GB, free: 108.1 MB / 0.8106 GB " [Timeout remaining time 657] make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.523462060140446] Failed to read output from testmodel.py, exit status != 0: 2.5023805159144104 2.510304053 1.252866712 Calling exit ...