Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007187/0.007187, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001458/0.001458, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7333/0.7333, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.17 kB / 0.5813 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1823, allocations: 80.2 MB / 0.6596 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009197/0.1916, allocations: 6.952 MB / 0.6664 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6239/0.8155, allocations: 155.7 MB / 0.8185 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.817, allocations: 32.73 kB / 0.8185 GB, free: 3.227 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.0008307/0.8178, allocations: 292.7 kB / 0.8188 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.82, allocations: 0.7015 MB / 0.8195 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.8231, allocations: 1.289 MB / 0.8208 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005767/0.8289, allocations: 4.565 MB / 0.8252 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.8324, allocations: 2.688 MB / 0.8278 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.8362, allocations: 1.751 MB / 0.8296 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.8391, allocations: 1.783 MB / 0.8313 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009248/0.84, allocations: 470.7 kB / 0.8317 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.8426, allocations: 1.065 MB / 0.8328 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007881/0.8434, allocations: 0.9984 MB / 0.8338 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.8457, allocations: 1.891 MB / 0.8356 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006377/0.8521, allocations: 5.575 MB / 0.841 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8521, allocations: 1.094 kB / 0.8411 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8521, allocations: 3 kB / 0.8411 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001219/0.8523, allocations: 0 / 0.8411 GB, free: 1.332 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.008551/0.8608, allocations: 3.991 MB / 0.845 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.8609, allocations: 11.84 kB / 0.845 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008889/0.8698, allocations: 1.302 MB / 0.8462 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.874, allocations: 2.189 MB / 0.8484 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.8742, allocations: 229.2 kB / 0.8486 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005204/0.8747, allocations: 290.6 kB / 0.8489 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.8829, allocations: 4.456 MB / 0.8532 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.883, allocations: 0 / 0.8532 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.8833, allocations: 124 kB / 0.8533 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.8834, allocations: 76.22 kB / 0.8534 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/0.893, allocations: 4.915 MB / 0.8582 GB, free: 14.56 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.02054/0.9136, allocations: 14.06 MB / 0.8719 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00978/0.9234, allocations: 4.039 MB / 0.8759 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/0.9271, allocations: 1.669 MB / 0.8775 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.9282, allocations: 1.073 MB / 0.8786 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004062/0.9322, allocations: 2.036 MB / 0.8805 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.337e-06/0.9322, allocations: 0 / 0.8805 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01231/0.9446, allocations: 5.238 MB / 0.8857 GB, free: 14.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.9447, allocations: 210.1 kB / 0.8859 GB, free: 13.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.9475, allocations: 1.971 MB / 0.8878 GB, free: 12.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.9477, allocations: 61.8 kB / 0.8878 GB, free: 12.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.9488, allocations: 1.219 MB / 0.889 GB, free: 11.51 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.9494, allocations: 0.7499 MB / 0.8898 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008512/0.9503, allocations: 0.523 MB / 0.8903 GB, free: 10.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.9504, allocations: 305.1 kB / 0.8906 GB, free: 9.941 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.9538, allocations: 1.577 MB / 0.8921 GB, free: 8.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/0.9575, allocations: 1.875 MB / 0.8939 GB, free: 6.398 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007164/0.9647, allocations: 3.426 MB / 0.8973 GB, free: 2.922 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9647, allocations: 0 / 0.8973 GB, free: 2.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008942/0.9737, allocations: 3.963 MB / 0.9012 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.9737, allocations: 8 kB / 0.9012 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9737, allocations: 4 kB / 0.9012 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.9743, allocations: 100.2 kB / 0.9013 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.9776, allocations: 0.6918 MB / 0.9019 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.9797, allocations: 1.694 MB / 0.9036 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/0.9834, allocations: 448.2 kB / 0.904 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006442/0.9841, allocations: 139.9 kB / 0.9042 GB, free: 11.8 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.002344/0.9864, allocations: 0.9335 MB / 0.9051 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008018/0.9872, allocations: 226.5 kB / 0.9053 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9973, allocations: 4.202 MB / 0.9094 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.9973, allocations: 24 kB / 0.9094 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9974, allocations: 0 / 0.9094 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.9974, allocations: 19.89 kB / 0.9094 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.011, allocations: 7.855 MB / 0.9171 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.011, allocations: 4 kB / 0.9171 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.014, allocations: 0.5786 MB / 0.9177 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/1.015, allocations: 76.78 kB / 0.9177 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.015, allocations: 67.95 kB / 0.9178 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.017, allocations: 1.724 MB / 0.9195 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.017, allocations: 0 / 0.9195 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007717/1.024, allocations: 3.477 MB / 0.9229 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.026, allocations: 0.7565 MB / 0.9236 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.026, allocations: 59.78 kB / 0.9237 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.028, allocations: 271.6 kB / 0.9239 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.028, allocations: 145.8 kB / 0.9241 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.029, allocations: 83.94 kB / 0.9242 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002037/1.031, allocations: 1.511 MB / 0.9256 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/1.031, allocations: 0 / 0.9256 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002145/1.033, allocations: 0.8842 MB / 0.9265 GB, free: 4.637 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.001444/1.034, allocations: 0.6904 MB / 0.9272 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007635/1.042, allocations: 3.587 MB / 0.9307 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.042, allocations: 0 / 0.9307 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.046, allocations: 1.794 MB / 0.9324 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.048, allocations: 450.4 kB / 0.9329 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.059, allocations: 6.391 MB / 0.9391 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.061, allocations: 2.285 MB / 0.9413 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003239/1.064, allocations: 0.9223 MB / 0.9422 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.065, allocations: 287.2 kB / 0.9425 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/1.065, allocations: 0 / 0.9425 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.0614/1.127, allocations: 41.06 MB / 0.9826 GB, free: 11.85 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & ./IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)