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.006125/0.006125, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001062/0.001062, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 57.91 kB / 0.5813 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1507, allocations: 80.21 MB / 0.6596 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007967/0.1587, allocations: 6.942 MB / 0.6664 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5921/0.7509, allocations: 155.7 MB / 0.8185 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.753, allocations: 31.97 kB / 0.8185 GB, free: 9.324 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.001654/0.7547, allocations: 284.2 kB / 0.8188 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.7576, allocations: 0.7066 MB / 0.8195 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.7612, allocations: 1.289 MB / 0.8207 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005665/0.7668, allocations: 4.561 MB / 0.8252 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.7704, allocations: 2.695 MB / 0.8278 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.7737, allocations: 1.754 MB / 0.8295 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.7761, allocations: 1.786 MB / 0.8313 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005894/0.7767, allocations: 472.1 kB / 0.8317 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.7788, allocations: 1.063 MB / 0.8328 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007829/0.7796, allocations: 0.9888 MB / 0.8337 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.7818, allocations: 1.89 MB / 0.8356 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007547/0.7893, allocations: 5.58 MB / 0.841 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7894, allocations: 0 / 0.841 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.787e-06/0.7894, allocations: 0 / 0.841 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001521/0.7895, allocations: 3.938 kB / 0.841 GB, free: 10.43 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.008565/0.7981, allocations: 3.992 MB / 0.8449 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7982, allocations: 14.11 kB / 0.8449 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008761/0.8069, allocations: 1.315 MB / 0.8462 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.8114, allocations: 2.181 MB / 0.8484 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.8116, allocations: 226 kB / 0.8486 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/0.8121, allocations: 292 kB / 0.8489 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00953/0.8216, allocations: 4.46 MB / 0.8532 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.8217, allocations: 0 / 0.8532 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.8221, allocations: 124 kB / 0.8533 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.8221, allocations: 72 kB / 0.8534 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.8341, allocations: 4.913 MB / 0.8582 GB, free: 10.51 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.02458/0.8587, allocations: 14.06 MB / 0.8719 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.8686, allocations: 4.039 MB / 0.8759 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/0.8721, allocations: 1.666 MB / 0.8775 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.8733, allocations: 1.073 MB / 0.8785 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004161/0.8775, allocations: 2.035 MB / 0.8805 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.527e-06/0.8775, allocations: 0 / 0.8805 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01258/0.8901, allocations: 5.239 MB / 0.8856 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.8902, allocations: 201.9 kB / 0.8858 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.8932, allocations: 1.977 MB / 0.8878 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/0.8935, allocations: 61.7 kB / 0.8878 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.8946, allocations: 1.218 MB / 0.889 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007889/0.8954, allocations: 0.7591 MB / 0.8898 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008895/0.8963, allocations: 0.5152 MB / 0.8903 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8964, allocations: 305.1 kB / 0.8906 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/0.9001, allocations: 1.577 MB / 0.8921 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/0.904, allocations: 1.875 MB / 0.8939 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007202/0.9112, allocations: 3.425 MB / 0.8973 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.9112, allocations: 8.062 kB / 0.8973 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009208/0.9204, allocations: 3.963 MB / 0.9011 GB, free: 13.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.9205, allocations: 8 kB / 0.9012 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.9205, allocations: 8.469 kB / 0.9012 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.9211, allocations: 88.78 kB / 0.9012 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.9245, allocations: 0.698 MB / 0.9019 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.9268, allocations: 1.702 MB / 0.9036 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.9301, allocations: 434.1 kB / 0.904 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/0.9304, allocations: 133.5 kB / 0.9041 GB, free: 10.03 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.001877/0.9323, allocations: 0.9329 MB / 0.905 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.9329, allocations: 242.5 kB / 0.9053 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009564/0.9425, allocations: 4.195 MB / 0.9094 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.9425, allocations: 24 kB / 0.9094 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9426, allocations: 0 / 0.9094 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.9426, allocations: 15.95 kB / 0.9094 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.9561, allocations: 7.868 MB / 0.9171 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9561, allocations: 0 / 0.9171 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/0.9588, allocations: 0.5773 MB / 0.9177 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.9593, allocations: 76.78 kB / 0.9177 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.9595, allocations: 67.94 kB / 0.9178 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.9613, allocations: 1.72 MB / 0.9195 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9613, allocations: 0 / 0.9195 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007747/0.9691, allocations: 3.485 MB / 0.9229 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.9708, allocations: 0.7525 MB / 0.9236 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.9712, allocations: 63.78 kB / 0.9237 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/0.9735, allocations: 277.2 kB / 0.9239 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.9738, allocations: 145.7 kB / 0.9241 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.974, allocations: 83.94 kB / 0.9242 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002281/0.9763, allocations: 1.511 MB / 0.9256 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9763, allocations: 8 kB / 0.9256 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002469/0.9788, allocations: 0.8804 MB / 0.9265 GB, free: 2.707 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.001619/0.9804, allocations: 0.6876 MB / 0.9272 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008285/0.9887, allocations: 3.585 MB / 0.9307 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9888, allocations: 0 / 0.9307 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004114/0.9929, allocations: 1.79 MB / 0.9324 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.9954, allocations: 445.7 kB / 0.9328 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.008, allocations: 6.393 MB / 0.9391 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.009, allocations: 2.273 MB / 0.9413 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003182/1.013, allocations: 0.9184 MB / 0.9422 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.014, allocations: 291.2 kB / 0.9425 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/1.014, allocations: 0 / 0.9425 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of Templates: time 0.06721/1.081, allocations: 41.07 MB / 0.9826 GB, free: 9.555 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)