Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 103.5 kB / 16.36 MB, free: 5.879 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.0019/0.0019, allocations: 195.5 kB / 17.3 MB, free: 5.52 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7851/0.7851, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3987, allocations: 80.92 MB / 0.5857 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007451/0.4062, allocations: 6.957 MB / 0.5925 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1706/0.5769, allocations: 155.7 MB / 0.7446 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.5784, allocations: 35.81 kB / 0.7446 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.5791, allocations: 293.1 kB / 0.7449 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.5813, allocations: 0.7103 MB / 0.7456 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.5838, allocations: 1.285 MB / 0.7469 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004043/0.5879, allocations: 4.574 MB / 0.7513 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4249/1.013, allocations: 2.857 MB / 0.7541 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/1.016, allocations: 1.735 MB / 0.7558 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/1.019, allocations: 1.778 MB / 0.7576 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001315/1.021, allocations: 466.9 kB / 0.758 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/1.024, allocations: 1.062 MB / 0.759 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/1.025, allocations: 0.9917 MB / 0.76 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004005/1.029, allocations: 1.872 MB / 0.7618 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008606/1.038, allocations: 5.52 MB / 0.7672 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.038, allocations: 3.344 kB / 0.7672 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/1.038, allocations: 0 / 0.7672 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002121/1.038, allocations: 0 / 0.7672 GB, free: 1.438 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01143/1.05, allocations: 3.87 MB / 0.771 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.05, allocations: 14.89 kB / 0.771 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009175/1.059, allocations: 1.279 MB / 0.7723 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/1.064, allocations: 2.125 MB / 0.7743 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/1.064, allocations: 233 kB / 0.7746 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/1.066, allocations: 287.8 kB / 0.7748 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/1.076, allocations: 4.455 MB / 0.7792 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/1.076, allocations: 2.438 kB / 0.7792 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/1.077, allocations: 127.3 kB / 0.7793 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/1.077, allocations: 73.69 kB / 0.7794 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/1.088, allocations: 4.886 MB / 0.7842 GB, free: 14.82 MB / 0.5919 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.02586/1.114, allocations: 14 MB / 0.7978 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009568/1.124, allocations: 4.048 MB / 0.8018 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/1.127, allocations: 1.664 MB / 0.8034 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.129, allocations: 1.077 MB / 0.8045 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004845/1.134, allocations: 2.035 MB / 0.8065 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 4.198e-06/1.134, allocations: 0 / 0.8065 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01322/1.147, allocations: 5.218 MB / 0.8115 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.147, allocations: 217.3 kB / 0.8118 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/1.15, allocations: 1.93 MB / 0.8136 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004234/1.15, allocations: 61.17 kB / 0.8137 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.152, allocations: 1.173 MB / 0.8148 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008561/1.152, allocations: 0.7166 MB / 0.8155 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/1.153, allocations: 0.517 MB / 0.816 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/1.153, allocations: 301.1 kB / 0.8163 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.157, allocations: 1.575 MB / 0.8179 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/1.161, allocations: 1.884 MB / 0.8197 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/1.168, allocations: 3.416 MB / 0.823 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.168, allocations: 4 kB / 0.8231 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009281/1.177, allocations: 3.953 MB / 0.8269 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.177, allocations: 11.94 kB / 0.8269 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.177, allocations: 7.984 kB / 0.8269 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/1.178, allocations: 97.05 kB / 0.827 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/1.181, allocations: 0.6952 MB / 0.8277 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/1.184, allocations: 1.703 MB / 0.8294 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.187, allocations: 429.6 kB / 0.8298 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/1.188, allocations: 139.1 kB / 0.8299 GB, free: 4.523 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (273): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002156/1.19, allocations: 0.9238 MB / 0.8308 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007211/1.191, allocations: 217.3 kB / 0.831 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009592/1.2, allocations: 4.191 MB / 0.8351 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/1.2, allocations: 24 kB / 0.8351 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.2, allocations: 1.312 kB / 0.8351 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.2, allocations: 11.95 kB / 0.8351 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.215, allocations: 7.846 MB / 0.8428 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.215, allocations: 0 / 0.8428 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/1.218, allocations: 0.5845 MB / 0.8434 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/1.218, allocations: 80.73 kB / 0.8435 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.218, allocations: 71.94 kB / 0.8435 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.22, allocations: 1.718 MB / 0.8452 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.22, allocations: 0 / 0.8452 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/1.229, allocations: 3.464 MB / 0.8486 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.23, allocations: 0.7319 MB / 0.8493 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/1.231, allocations: 67.69 kB / 0.8494 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.233, allocations: 274.6 kB / 0.8496 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/1.233, allocations: 149.9 kB / 0.8498 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.234, allocations: 83.8 kB / 0.8498 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002089/1.236, allocations: 1.482 MB / 0.8513 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.236, allocations: 0 / 0.8513 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002756/1.238, allocations: 0.8644 MB / 0.8521 GB, free: 13.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/1.24, allocations: 0.682 MB / 0.8528 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008205/1.248, allocations: 3.591 MB / 0.8563 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.248, allocations: 4 kB / 0.8563 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/1.252, allocations: 1.794 MB / 0.8581 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.254, allocations: 439.2 kB / 0.8585 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.266, allocations: 6.254 MB / 0.8646 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.268, allocations: 2.254 MB / 0.8668 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003267/1.271, allocations: 0.9142 MB / 0.8677 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.273, allocations: 287.2 kB / 0.868 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/1.273, allocations: 0 / 0.868 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.06561/1.338, allocations: 40.35 MB / 0.9074 GB, free: 5.566 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)