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.005867/0.005867, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.00118/0.00118, allocations: 197.7 kB / 16.67 MB, free: 5.906 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7904/0.7904, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 65.44 kB / 0.5813 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1868, allocations: 80.21 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.01142/0.1983, allocations: 6.943 MB / 0.6664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6425/0.8408, allocations: 155.7 MB / 0.8185 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.8427, allocations: 31.28 kB / 0.8185 GB, free: 3.219 MB / 0.6387 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.00106/0.8438, allocations: 289.5 kB / 0.8188 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.8464, allocations: 0.7279 MB / 0.8195 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.8499, allocations: 1.281 MB / 0.8208 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006104/0.856, allocations: 4.568 MB / 0.8252 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.8597, allocations: 2.683 MB / 0.8278 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.8647, allocations: 1.785 MB / 0.8296 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.8689, allocations: 1.791 MB / 0.8313 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.8701, allocations: 467.6 kB / 0.8318 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.8733, allocations: 1.064 MB / 0.8328 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.8742, allocations: 0.9925 MB / 0.8338 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.877, allocations: 1.893 MB / 0.8356 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.8843, allocations: 5.561 MB / 0.8411 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.8843, allocations: 0.8438 kB / 0.8411 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8844, allocations: 0 / 0.8411 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001823/0.8845, allocations: 0.9688 kB / 0.8411 GB, free: 1.355 MB / 0.6387 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.01017/0.8947, allocations: 3.888 MB / 0.8449 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8948, allocations: 9.344 kB / 0.8449 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009808/0.9046, allocations: 1.286 MB / 0.8461 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/0.9111, allocations: 2.178 MB / 0.8483 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.9114, allocations: 224.7 kB / 0.8485 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009864/0.9124, allocations: 299.3 kB / 0.8488 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.9239, allocations: 4.451 MB / 0.8531 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.488e-05/0.924, allocations: 6.625 kB / 0.8531 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.9244, allocations: 120.2 kB / 0.8532 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/0.9245, allocations: 78.59 kB / 0.8533 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.9371, allocations: 4.905 MB / 0.8581 GB, free: 14.72 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.03203/0.9691, allocations: 14.04 MB / 0.8718 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.981, allocations: 4.037 MB / 0.8757 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/0.986, allocations: 1.663 MB / 0.8774 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/0.9878, allocations: 1.079 MB / 0.8784 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005803/0.9936, allocations: 2.032 MB / 0.8804 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 6.382e-06/0.9936, allocations: 0 / 0.8804 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01552/1.009, allocations: 5.231 MB / 0.8855 GB, free: 14.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.009, allocations: 203.5 kB / 0.8857 GB, free: 13.99 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/1.014, allocations: 1.975 MB / 0.8876 GB, free: 12.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006928/1.015, allocations: 65.69 kB / 0.8877 GB, free: 12.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.016, allocations: 1.188 MB / 0.8889 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.018, allocations: 0.7131 MB / 0.8896 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/1.02, allocations: 0.5189 MB / 0.8901 GB, free: 10.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.02, allocations: 301.1 kB / 0.8903 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/1.024, allocations: 1.577 MB / 0.8919 GB, free: 8.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/1.028, allocations: 1.871 MB / 0.8937 GB, free: 6.566 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/1.037, allocations: 3.424 MB / 0.8971 GB, free: 3.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/1.037, allocations: 4 kB / 0.8971 GB, free: 3.086 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01108/1.048, allocations: 3.953 MB / 0.9009 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/1.048, allocations: 12.09 kB / 0.9009 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.048, allocations: 8 kB / 0.9009 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.049, allocations: 92.78 kB / 0.901 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/1.053, allocations: 0.6987 MB / 0.9017 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.055, allocations: 1.708 MB / 0.9034 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/1.059, allocations: 423.9 kB / 0.9038 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/1.06, allocations: 131.8 kB / 0.9039 GB, free: 11.98 MB / 0.6856 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.003011/1.063, allocations: 0.942 MB / 0.9048 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.064, allocations: 217.3 kB / 0.905 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.076, allocations: 4.208 MB / 0.9091 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.076, allocations: 20 kB / 0.9092 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.076, allocations: 4 kB / 0.9092 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/1.076, allocations: 11.95 kB / 0.9092 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.095, allocations: 7.845 MB / 0.9168 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.095, allocations: 0 / 0.9168 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.098, allocations: 0.5796 MB / 0.9174 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/1.099, allocations: 76.8 kB / 0.9175 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.099, allocations: 71.94 kB / 0.9176 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/1.101, allocations: 1.722 MB / 0.9192 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.101, allocations: 0 / 0.9192 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009047/1.11, allocations: 3.468 MB / 0.9226 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.112, allocations: 0.7397 MB / 0.9233 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008427/1.113, allocations: 63.69 kB / 0.9234 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.116, allocations: 267.6 kB / 0.9237 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/1.116, allocations: 153 kB / 0.9238 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.117, allocations: 79.95 kB / 0.9239 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003348/1.12, allocations: 1.518 MB / 0.9254 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/1.12, allocations: 0 / 0.9254 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003901/1.124, allocations: 0.8682 MB / 0.9262 GB, free: 4.859 MB / 0.7012 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.002123/1.126, allocations: 0.6824 MB / 0.9269 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.136, allocations: 3.587 MB / 0.9304 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.136, allocations: 0 / 0.9304 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/1.141, allocations: 1.791 MB / 0.9321 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.145, allocations: 446.5 kB / 0.9326 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.16, allocations: 6.303 MB / 0.9387 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.162, allocations: 2.273 MB / 0.9409 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004407/1.167, allocations: 0.93 MB / 0.9418 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/1.169, allocations: 295.2 kB / 0.9421 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.657e-06/1.169, allocations: 0 / 0.9421 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.07482/1.243, allocations: 41.05 MB / 0.9822 GB, free: 12.19 MB / 0.7637 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)