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.001154/0.001154, allocations: 107 kB / 17.74 MB, free: 5.312 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.001301/0.001301, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.594/1.594, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3285/0.3285, allocations: 48.85 MB / 320.8 MB, free: 10.99 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.00178/0.00178, allocations: 72.12 kB / 451.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1358, allocations: 59.15 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified): time 0.5981/0.734, allocations: 257.4 MB / 0.7498 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.7447, allocations: 5.622 MB / 0.7553 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.7469, allocations: 39.69 kB / 0.7553 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.7499, allocations: 0.8739 MB / 0.7562 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.7539, allocations: 1.485 MB / 0.7576 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.378/1.132, allocations: 2.827 MB / 0.7604 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01678/1.149, allocations: 11.97 MB / 0.7721 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007719/1.157, allocations: 3.875 MB / 0.7758 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/1.167, allocations: 3.761 MB / 0.7795 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009791/1.177, allocations: 3.805 MB / 0.7832 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004158/1.181, allocations: 1.019 MB / 0.7842 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1026/1.283, allocations: 36.88 MB / 0.8202 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006748/1.29, allocations: 3.062 MB / 0.8232 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01515/1.305, allocations: 3.836 MB / 0.827 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02246/1.328, allocations: 12.67 MB / 0.8394 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.328, allocations: 0 / 0.8394 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/1.328, allocations: 0 / 0.8394 GB, free: 496 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003936/1.328, allocations: 0 / 0.8394 GB, free: 496 kB / 0.6075 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.03086/1.359, allocations: 6.488 MB / 0.8457 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/1.359, allocations: 15.89 kB / 0.8457 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.372, allocations: 1.84 MB / 0.8475 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/1.384, allocations: 3.474 MB / 0.8509 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005528/1.385, allocations: 354.6 kB / 0.8512 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004176/1.389, allocations: 0.6295 MB / 0.8518 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/1.42, allocations: 9.746 MB / 0.8614 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/1.42, allocations: 0 / 0.8614 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003509/1.424, allocations: 199.7 kB / 0.8616 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004831/1.424, allocations: 341.4 kB / 0.8619 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/1.454, allocations: 12.04 MB / 0.8736 GB, free: 13.87 MB / 0.6544 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.08309/1.537, allocations: 34.63 MB / 0.9075 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/1.564, allocations: 10.85 MB / 0.918 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009605/1.574, allocations: 4.331 MB / 0.9223 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04708/1.621, allocations: 22.52 MB / 0.9443 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/1.621, allocations: 98.45 kB / 0.9444 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=503): time 1.068e-05/1.621, allocations: 0 / 0.9444 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503): time 0.0605/1.682, allocations: 18.22 MB / 0.9622 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.682, allocations: 132.2 kB / 0.9623 GB, free: 428 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/1.686, allocations: 2.108 MB / 0.9643 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001661/1.688, allocations: 117.7 kB / 0.9645 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.69, allocations: 1.795 MB / 0.9662 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003608/1.693, allocations: 1.864 MB / 0.968 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00609/1.699, allocations: 1.113 MB / 0.9691 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.7, allocations: 305.1 kB / 0.9694 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008287/1.708, allocations: 3.945 MB / 0.9733 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.718, allocations: 5.502 MB / 0.9786 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/1.738, allocations: 9.979 MB / 0.9884 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.699e-05/1.738, allocations: 16 kB / 0.9884 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.04077/1.779, allocations: 13.52 MB / 1.002 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/1.779, allocations: 31.94 kB / 1.002 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.779, allocations: 48.03 kB / 1.002 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06368/1.843, allocations: 13.86 MB / 1.015 GB, free: 9.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/1.847, allocations: 0.7844 MB / 1.016 GB, free: 8.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/1.882, allocations: 15.02 MB / 1.031 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007261/1.889, allocations: 0.6364 MB / 1.031 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.891, allocations: 283.9 kB / 1.032 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01589/1.907, allocations: 5.326 MB / 1.037 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3445/2.252, allocations: 5.489 MB / 1.042 GB, free: 414.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02102/2.273, allocations: 9.938 MB / 1.052 GB, free: 411.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001251/2.273, allocations: 12.38 kB / 1.052 GB, free: 411.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=756) (initialization_lambda0): time 0.03063/2.303, allocations: 12.89 MB / 1.064 GB, free: 406.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/2.304, allocations: 26.36 kB / 1.064 GB, free: 406.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/2.304, allocations: 48.19 kB / 1.064 GB, free: 406.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03472/2.338, allocations: 9.931 MB / 1.074 GB, free: 404.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/2.343, allocations: 0.8996 MB / 1.075 GB, free: 404.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/2.362, allocations: 14.63 MB / 1.089 GB, free: 395.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006045/2.369, allocations: 0.5394 MB / 1.09 GB, free: 395.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/2.369, allocations: 289.9 kB / 1.09 GB, free: 395.8 MB / 0.8106 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.001702/2.371, allocations: 0.5036 MB / 1.091 GB, free: 395.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/2.372, allocations: 367.8 kB / 1.091 GB, free: 395.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/2.395, allocations: 11.91 MB / 1.103 GB, free: 387.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.395, allocations: 23.91 kB / 1.103 GB, free: 387.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/2.395, allocations: 0 / 1.103 GB, free: 387.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004741/2.4, allocations: 1.481 MB / 1.104 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.402, allocations: 144.2 kB / 1.104 GB, free: 385.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/2.406, allocations: 214.8 kB / 1.104 GB, free: 385.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/2.408, allocations: 447.6 kB / 1.105 GB, free: 385.3 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02946/2.437, allocations: 11.86 MB / 1.116 GB, free: 373.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02267/2.46, allocations: 13.31 MB / 1.129 GB, free: 360.1 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006101/2.466, allocations: 4.349 MB / 1.134 GB, free: 355.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00257/2.469, allocations: 1.39 MB / 1.135 GB, free: 354.3 MB / 0.8106 GB Notification: Performance of Backend: time 3.51e-07/2.469, allocations: 0 / 1.135 GB, free: 354.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.04189/2.511, allocations: 13.6 MB / 1.148 GB, free: 340.8 MB / 0.8106 GB Notification: Performance of SimCode: time 0.02033/2.531, allocations: 11.15 MB / 1.159 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.2291/2.76, allocations: 183.6 MB / 1.338 GB, free: 145.8 MB / 0.8106 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)