Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 106.1 kB / 17.69 MB, free: 5.477 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.001032/0.001032, allocations: 190.9 kB / 18.63 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2754/0.2754, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB 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.001426/0.001426, allocations: 65.64 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 59.16 MB / 450.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified): time 0.5607/0.6735, allocations: 257.4 MB / 0.6915 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6838, allocations: 5.61 MB / 0.697 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.686, allocations: 35.75 kB / 0.697 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.6886, allocations: 0.8699 MB / 0.6979 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.6923, allocations: 1.454 MB / 0.6993 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.6998, allocations: 2.816 MB / 0.702 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.7123, allocations: 11.96 MB / 0.7137 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005854/0.7182, allocations: 3.868 MB / 0.7175 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007385/0.7257, allocations: 3.711 MB / 0.7211 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/0.7326, allocations: 3.799 MB / 0.7248 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.7355, allocations: 1.02 MB / 0.7258 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.48/1.216, allocations: 36.86 MB / 0.7618 GB, free: 21.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.006002/1.222, allocations: 3.069 MB / 0.7648 GB, free: 21.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01356/1.235, allocations: 3.837 MB / 0.7686 GB, free: 21.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01991/1.255, allocations: 12.65 MB / 0.7809 GB, free: 21.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.255, allocations: 2.562 kB / 0.7809 GB, free: 21.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/1.255, allocations: 0 / 0.7809 GB, free: 21.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004279/1.256, allocations: 0 / 0.7809 GB, free: 21.14 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 0.03153/1.287, allocations: 6.369 MB / 0.7871 GB, free: 19.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.287, allocations: 16.42 kB / 0.7871 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/1.3, allocations: 1.808 MB / 0.7889 GB, free: 19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/1.312, allocations: 3.474 MB / 0.7923 GB, free: 18.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006985/1.312, allocations: 348.3 kB / 0.7926 GB, free: 18.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004653/1.317, allocations: 0.6302 MB / 0.7933 GB, free: 18.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03722/1.354, allocations: 9.749 MB / 0.8028 GB, free: 17.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/1.355, allocations: 2.531 kB / 0.8028 GB, free: 17.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004918/1.36, allocations: 202.2 kB / 0.803 GB, free: 17.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000628/1.36, allocations: 335.5 kB / 0.8033 GB, free: 16.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/1.39, allocations: 12.04 MB / 0.8151 GB, free: 13.3 MB / 0.545 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.07874/1.469, allocations: 34.61 MB / 0.8488 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03061/1.5, allocations: 10.83 MB / 0.8594 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009729/1.509, allocations: 4.343 MB / 0.8637 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05088/1.56, allocations: 22.5 MB / 0.8856 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/1.561, allocations: 98.45 kB / 0.8857 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=503): time 1.212e-05/1.561, allocations: 0 / 0.8857 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=503): time 0.06496/1.626, allocations: 18.21 MB / 0.9035 GB, free: 80 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.626, allocations: 129.1 kB / 0.9036 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/1.63, allocations: 2.1 MB / 0.9057 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.002266/1.633, allocations: 121.7 kB / 0.9058 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.635, allocations: 1.744 MB / 0.9075 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004118/1.639, allocations: 1.767 MB / 0.9092 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006121/1.645, allocations: 1.113 MB / 0.9103 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.645, allocations: 309.1 kB / 0.9106 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008801/1.654, allocations: 3.941 MB / 0.9145 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009892/1.664, allocations: 5.503 MB / 0.9198 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01913/1.683, allocations: 9.98 MB / 0.9296 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-05/1.683, allocations: 16 kB / 0.9296 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.03661/1.72, allocations: 13.51 MB / 0.9428 GB, free: 6.797 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.72, allocations: 36.02 kB / 0.9428 GB, free: 6.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.935e-05/1.72, allocations: 44 kB / 0.9429 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06349/1.783, allocations: 13.85 MB / 0.9564 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/1.787, allocations: 0.7951 MB / 0.9572 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03456/1.822, allocations: 15.01 MB / 0.9718 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007616/1.83, allocations: 0.619 MB / 0.9724 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/1.832, allocations: 283.9 kB / 0.9727 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01341/1.845, allocations: 5.322 MB / 0.9779 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01042/1.856, allocations: 5.491 MB / 0.9833 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02082/1.876, allocations: 9.932 MB / 0.993 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.967e-05/1.877, allocations: 16 kB / 0.993 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=756) (initialization_lambda0): time 0.3411/2.218, allocations: 12.88 MB / 1.006 GB, free: 370.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/2.218, allocations: 24.81 kB / 1.006 GB, free: 370.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/2.218, allocations: 46.41 kB / 1.006 GB, free: 370.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03629/2.254, allocations: 9.925 MB / 1.015 GB, free: 368.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/2.259, allocations: 0.9051 MB / 1.016 GB, free: 368.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/2.287, allocations: 14.63 MB / 1.03 GB, free: 360.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007499/2.294, allocations: 0.5343 MB / 1.031 GB, free: 360 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002408/2.297, allocations: 279.3 kB / 1.031 GB, free: 360 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (426): * Single equations (assignments): 422 * 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 {(32,299)} Notification: Performance of prepare postOptimizeDAE: time 0.003907/2.301, allocations: 0.5059 MB / 1.032 GB, free: 359.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002477/2.303, allocations: 348.5 kB / 1.032 GB, free: 359.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03273/2.336, allocations: 11.92 MB / 1.044 GB, free: 354.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001783/2.336, allocations: 23.62 kB / 1.044 GB, free: 354.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/2.336, allocations: 0 / 1.044 GB, free: 354.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004886/2.341, allocations: 1.467 MB / 1.045 GB, free: 353.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002696/2.344, allocations: 145 kB / 1.045 GB, free: 353.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006175/2.35, allocations: 204.6 kB / 1.046 GB, free: 353.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002918/2.353, allocations: 450.3 kB / 1.046 GB, free: 353.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03396/2.387, allocations: 11.84 MB / 1.058 GB, free: 344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02608/2.413, allocations: 13.3 MB / 1.071 GB, free: 331.4 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006721/2.42, allocations: 4.352 MB / 1.075 GB, free: 327.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00265/2.422, allocations: 1.39 MB / 1.076 GB, free: 325.7 MB / 0.7169 GB Notification: Performance of Backend: time 5.51e-07/2.422, allocations: 0 / 1.076 GB, free: 325.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.04479/2.467, allocations: 13.58 MB / 1.089 GB, free: 312.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.02131/2.488, allocations: 11 MB / 1.1 GB, free: 301.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.245/2.734, allocations: 180.7 MB / 1.277 GB, free: 120.4 MB / 0.7169 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)