Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007639/0.007639, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001441/0.001441, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8002/0.8002, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.84 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 80.21 MB / 0.6596 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.01061/0.1983, allocations: 6.952 MB / 0.6664 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6999/0.8983, allocations: 155.7 MB / 0.8185 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.9002, allocations: 33.78 kB / 0.8185 GB, free: 9.309 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009991/0.9012, allocations: 285.3 kB / 0.8188 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.9039, allocations: 0.724 MB / 0.8195 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.9078, allocations: 1.291 MB / 0.8208 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.9125, allocations: 4.568 MB / 0.8252 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.9159, allocations: 2.686 MB / 0.8279 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.9193, allocations: 1.794 MB / 0.8296 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.922, allocations: 1.788 MB / 0.8314 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000824/0.9229, allocations: 467.6 kB / 0.8318 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.9255, allocations: 1.059 MB / 0.8328 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009146/0.9264, allocations: 0.9995 MB / 0.8338 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.9287, allocations: 1.879 MB / 0.8356 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007119/0.9358, allocations: 5.561 MB / 0.8411 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.9359, allocations: 4 kB / 0.8411 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9359, allocations: 3.938 kB / 0.8411 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001584/0.9361, allocations: 2.906 kB / 0.8411 GB, free: 10.39 MB / 0.6075 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.01018/0.9462, allocations: 3.886 MB / 0.8449 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.9463, allocations: 9.594 kB / 0.8449 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/0.9558, allocations: 1.289 MB / 0.8461 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.9614, allocations: 2.172 MB / 0.8483 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.9616, allocations: 230 kB / 0.8485 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.9624, allocations: 295.9 kB / 0.8488 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.9743, allocations: 4.46 MB / 0.8531 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-05/0.9744, allocations: 0 / 0.8531 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008222/0.9753, allocations: 124 kB / 0.8532 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/0.9754, allocations: 72 kB / 0.8533 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.9893, allocations: 4.913 MB / 0.8581 GB, free: 10.55 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.03158/1.021, allocations: 14.02 MB / 0.8718 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/1.034, allocations: 4.035 MB / 0.8757 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004873/1.039, allocations: 1.669 MB / 0.8774 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/1.04, allocations: 1.073 MB / 0.8784 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00628/1.047, allocations: 2.039 MB / 0.8804 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 5.651e-06/1.047, allocations: 4 kB / 0.8804 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01667/1.063, allocations: 5.226 MB / 0.8855 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.064, allocations: 205.9 kB / 0.8857 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/1.068, allocations: 1.977 MB / 0.8876 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006253/1.069, allocations: 61.7 kB / 0.8877 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.07, allocations: 1.18 MB / 0.8889 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.071, allocations: 0.7202 MB / 0.8896 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.073, allocations: 0.5189 MB / 0.8901 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.074, allocations: 301.1 kB / 0.8904 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/1.078, allocations: 1.573 MB / 0.8919 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/1.083, allocations: 1.875 MB / 0.8937 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008795/1.091, allocations: 3.421 MB / 0.8971 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/1.091, allocations: 7.938 kB / 0.8971 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01202/1.103, allocations: 3.962 MB / 0.9009 GB, free: 13.39 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.104, allocations: 4 kB / 0.9009 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.104, allocations: 8 kB / 0.9009 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/1.104, allocations: 93.23 kB / 0.901 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.108, allocations: 0.702 MB / 0.9017 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/1.111, allocations: 1.697 MB / 0.9034 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/1.115, allocations: 429.5 kB / 0.9038 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/1.115, allocations: 131.8 kB / 0.9039 GB, free: 10.19 MB / 0.67 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.00267/1.118, allocations: 0.9446 MB / 0.9048 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.119, allocations: 221.3 kB / 0.905 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.131, allocations: 4.194 MB / 0.9091 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/1.131, allocations: 20 kB / 0.9092 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.131, allocations: 4 kB / 0.9092 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.131, allocations: 11.95 kB / 0.9092 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.148, allocations: 7.855 MB / 0.9168 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/1.148, allocations: 0 / 0.9168 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.151, allocations: 0.5811 MB / 0.9174 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/1.152, allocations: 84.78 kB / 0.9175 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/1.152, allocations: 63.94 kB / 0.9176 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/1.155, allocations: 1.724 MB / 0.9192 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.155, allocations: 0 / 0.9192 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009328/1.164, allocations: 3.465 MB / 0.9226 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.166, allocations: 0.7397 MB / 0.9233 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007711/1.167, allocations: 63.69 kB / 0.9234 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.17, allocations: 275.5 kB / 0.9237 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.17, allocations: 149.7 kB / 0.9238 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.17, allocations: 79.95 kB / 0.9239 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003127/1.173, allocations: 1.515 MB / 0.9254 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/1.173, allocations: 0 / 0.9254 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00325/1.177, allocations: 0.8683 MB / 0.9262 GB, free: 2.93 MB / 0.6856 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.002011/1.179, allocations: 0.6905 MB / 0.9269 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009392/1.188, allocations: 3.588 MB / 0.9304 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.188, allocations: 0 / 0.9304 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004152/1.192, allocations: 1.802 MB / 0.9322 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.195, allocations: 441.6 kB / 0.9326 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.211, allocations: 6.294 MB / 0.9387 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/1.214, allocations: 2.273 MB / 0.9409 GB, free: 4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004431/1.218, allocations: 0.9262 MB / 0.9418 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.22, allocations: 295.2 kB / 0.9421 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of SimCode: time 1.653e-06/1.22, allocations: 0 / 0.9421 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of Templates: time 0.06738/1.287, allocations: 41.06 MB / 0.9822 GB, free: 9.875 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & ./IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)