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.001093/0.001093, allocations: 109.4 kB / 16.36 MB, free: 6.293 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.001398/0.001398, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7566/0.7566, allocations: 132.2 MB / 423.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3882, allocations: 80.2 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008325/0.3966, allocations: 6.953 MB / 0.5883 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1606/0.5572, allocations: 155.7 MB / 0.7403 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.5588, allocations: 35.81 kB / 0.7404 GB, free: 11.01 MB / 0.5762 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.001223/0.5601, allocations: 293.1 kB / 0.7406 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.5627, allocations: 0.7113 MB / 0.7413 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.5658, allocations: 1.286 MB / 0.7426 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005381/0.5712, allocations: 4.567 MB / 0.7471 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004276/0.5755, allocations: 2.685 MB / 0.7497 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3209/0.8963, allocations: 1.749 MB / 0.7514 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.8988, allocations: 1.781 MB / 0.7531 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006813/0.8995, allocations: 468.5 kB / 0.7536 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.9012, allocations: 1.067 MB / 0.7546 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007339/0.902, allocations: 0.9921 MB / 0.7556 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.904, allocations: 1.89 MB / 0.7574 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005964/0.91, allocations: 5.552 MB / 0.7629 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.91, allocations: 0.5312 kB / 0.7629 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.91, allocations: 0.5 kB / 0.7629 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001233/0.9101, allocations: 0.75 kB / 0.7629 GB, free: 3.91 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.00953/0.9197, allocations: 3.899 MB / 0.7667 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9197, allocations: 10.81 kB / 0.7667 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009032/0.9288, allocations: 1.285 MB / 0.7679 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.9332, allocations: 2.168 MB / 0.77 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.9334, allocations: 230.2 kB / 0.7703 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000613/0.934, allocations: 290.9 kB / 0.7705 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008726/0.9428, allocations: 4.454 MB / 0.7749 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-05/0.9429, allocations: 5.562 kB / 0.7749 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.9432, allocations: 122 kB / 0.775 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.9433, allocations: 73.97 kB / 0.7751 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0099/0.9532, allocations: 4.912 MB / 0.7799 GB, free: 1.277 MB / 0.5762 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.02299/0.9762, allocations: 14.03 MB / 0.7936 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.9866, allocations: 4.032 MB / 0.7975 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003643/0.9903, allocations: 1.661 MB / 0.7991 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.9915, allocations: 1.08 MB / 0.8002 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004287/0.9958, allocations: 2.038 MB / 0.8022 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 4.629e-06/0.9958, allocations: 0 / 0.8022 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01263/1.008, allocations: 5.222 MB / 0.8073 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.009, allocations: 216 kB / 0.8075 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/1.012, allocations: 1.97 MB / 0.8094 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003255/1.012, allocations: 61.05 kB / 0.8095 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.013, allocations: 1.187 MB / 0.8106 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008024/1.014, allocations: 0.7223 MB / 0.8113 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/1.016, allocations: 0.5156 MB / 0.8118 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/1.016, allocations: 301.8 kB / 0.8121 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.019, allocations: 1.576 MB / 0.8137 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/1.023, allocations: 1.877 MB / 0.8155 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/1.03, allocations: 3.426 MB / 0.8188 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/1.031, allocations: 4 kB / 0.8189 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01056/1.041, allocations: 3.951 MB / 0.8227 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/1.041, allocations: 11.94 kB / 0.8227 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.041, allocations: 8.156 kB / 0.8227 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/1.042, allocations: 94.52 kB / 0.8228 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/1.045, allocations: 0.6998 MB / 0.8235 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.048, allocations: 1.692 MB / 0.8252 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/1.051, allocations: 432.7 kB / 0.8256 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.051, allocations: 139.8 kB / 0.8257 GB, free: 10.62 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.00199/1.053, allocations: 0.9289 MB / 0.8266 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/1.054, allocations: 217.3 kB / 0.8268 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.064, allocations: 4.207 MB / 0.8309 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.064, allocations: 24 kB / 0.8309 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.064, allocations: 0 / 0.8309 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/1.064, allocations: 11.95 kB / 0.831 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/1.079, allocations: 7.861 MB / 0.8386 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.079, allocations: 0 / 0.8386 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/1.082, allocations: 0.5833 MB / 0.8392 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/1.083, allocations: 83.88 kB / 0.8393 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.083, allocations: 63.95 kB / 0.8393 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.085, allocations: 1.723 MB / 0.841 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.085, allocations: 0 / 0.841 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/1.093, allocations: 3.467 MB / 0.8444 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.095, allocations: 0.7435 MB / 0.8451 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009388/1.096, allocations: 59.69 kB / 0.8452 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.099, allocations: 271.6 kB / 0.8455 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/1.099, allocations: 145.8 kB / 0.8456 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.1, allocations: 83.94 kB / 0.8457 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003141/1.103, allocations: 1.511 MB / 0.8472 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/1.103, allocations: 0 / 0.8472 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003137/1.106, allocations: 0.8683 MB / 0.848 GB, free: 3.516 MB / 0.6231 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.001861/1.108, allocations: 0.6886 MB / 0.8487 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008602/1.116, allocations: 3.599 MB / 0.8522 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.116, allocations: 0 / 0.8522 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.12, allocations: 1.784 MB / 0.8539 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.123, allocations: 446.1 kB / 0.8544 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.136, allocations: 6.3 MB / 0.8605 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/1.139, allocations: 2.277 MB / 0.8627 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003552/1.142, allocations: 0.9288 MB / 0.8636 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.144, allocations: 287.2 kB / 0.8639 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.144, allocations: 0 / 0.8639 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.06453/1.208, allocations: 40.44 MB / 0.9034 GB, free: 11.45 MB / 0.6856 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)