Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007832/0.007832, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001592/0.001592, allocations: 192 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8454/0.8454, allocations: 135.1 MB / 425.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 66.2 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1987, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.01051/0.2093, allocations: 6.959 MB / 0.6714 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6697/0.8791, allocations: 155.7 MB / 0.8235 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.8811, allocations: 31.38 kB / 0.8235 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.8823, allocations: 285.9 kB / 0.8238 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.8853, allocations: 0.7097 MB / 0.8245 GB, free: 3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.8887, allocations: 1.286 MB / 0.8257 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.8936, allocations: 4.557 MB / 0.8302 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.897, allocations: 2.879 MB / 0.833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.9002, allocations: 1.733 MB / 0.8347 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.9024, allocations: 1.777 MB / 0.8364 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005749/0.903, allocations: 468.1 kB / 0.8369 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.9053, allocations: 1.065 MB / 0.8379 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009007/0.9062, allocations: 0.9995 MB / 0.8389 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.9086, allocations: 1.872 MB / 0.8407 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.9169, allocations: 5.544 MB / 0.8461 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.917, allocations: 2.531 kB / 0.8461 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.354e-06/0.917, allocations: 4 kB / 0.8461 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002415/0.9172, allocations: 0 / 0.8461 GB, free: 4.617 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.01089/0.9281, allocations: 3.957 MB / 0.85 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.9282, allocations: 13.05 kB / 0.85 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009253/0.9375, allocations: 1.305 MB / 0.8513 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.9423, allocations: 2.145 MB / 0.8534 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.9426, allocations: 234 kB / 0.8536 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.9437, allocations: 288 kB / 0.8539 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.9546, allocations: 4.46 MB / 0.8582 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.094e-05/0.9547, allocations: 4 kB / 0.8582 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007437/0.9555, allocations: 128 kB / 0.8584 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.599e-05/0.9556, allocations: 72 kB / 0.8584 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.9683, allocations: 4.881 MB / 0.8632 GB, free: 3.699 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.02748/0.9958, allocations: 14.03 MB / 0.8769 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/1.007, allocations: 4.039 MB / 0.8808 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004126/1.011, allocations: 1.662 MB / 0.8825 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.012, allocations: 1.073 MB / 0.8835 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004983/1.017, allocations: 2.035 MB / 0.8855 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 6.102e-06/1.018, allocations: 0 / 0.8855 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01459/1.032, allocations: 5.239 MB / 0.8906 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.032, allocations: 205.9 kB / 0.8908 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/1.038, allocations: 1.936 MB / 0.8927 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006454/1.038, allocations: 61.7 kB / 0.8928 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.04, allocations: 1.195 MB / 0.8939 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.041, allocations: 0.7552 MB / 0.8947 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/1.043, allocations: 0.523 MB / 0.8952 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.043, allocations: 309.1 kB / 0.8955 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/1.047, allocations: 1.573 MB / 0.897 GB, free: 15.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.052, allocations: 1.875 MB / 0.8988 GB, free: 13.99 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009051/1.061, allocations: 3.419 MB / 0.9022 GB, free: 10.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.061, allocations: 0 / 0.9022 GB, free: 10.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01135/1.073, allocations: 3.967 MB / 0.906 GB, free: 6.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.073, allocations: 8 kB / 0.9061 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.073, allocations: 4 kB / 0.9061 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/1.073, allocations: 93.31 kB / 0.9061 GB, free: 6.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/1.077, allocations: 0.7058 MB / 0.9068 GB, free: 5.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.08, allocations: 1.701 MB / 0.9085 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/1.083, allocations: 442.1 kB / 0.9089 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/1.084, allocations: 127.8 kB / 0.909 GB, free: 3.297 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.002576/1.087, allocations: 0.9249 MB / 0.9099 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009689/1.088, allocations: 222.5 kB / 0.9102 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.099, allocations: 4.202 MB / 0.9143 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.099, allocations: 31.98 kB / 0.9143 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.099, allocations: 4 kB / 0.9143 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/1.099, allocations: 7.969 kB / 0.9143 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.115, allocations: 7.851 MB / 0.922 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.115, allocations: 0 / 0.922 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/1.118, allocations: 0.5772 MB / 0.9225 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/1.119, allocations: 80.78 kB / 0.9226 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/1.119, allocations: 63.95 kB / 0.9227 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/1.121, allocations: 1.713 MB / 0.9243 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.121, allocations: 0 / 0.9243 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008852/1.13, allocations: 3.477 MB / 0.9277 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.132, allocations: 0.7564 MB / 0.9285 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/1.133, allocations: 63.78 kB / 0.9285 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.135, allocations: 269.8 kB / 0.9288 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/1.136, allocations: 149.7 kB / 0.9289 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.136, allocations: 91.94 kB / 0.929 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002875/1.139, allocations: 1.478 MB / 0.9305 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 0.9305 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003119/1.142, allocations: 0.8803 MB / 0.9313 GB, free: 12.05 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.001873/1.144, allocations: 0.6897 MB / 0.932 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009314/1.153, allocations: 3.585 MB / 0.9355 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.153, allocations: 8.375 kB / 0.9355 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004335/1.157, allocations: 1.794 MB / 0.9373 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.161, allocations: 431.3 kB / 0.9377 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.175, allocations: 6.349 MB / 0.9439 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.178, allocations: 2.25 MB / 0.9461 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003875/1.181, allocations: 0.9064 MB / 0.947 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.183, allocations: 291.2 kB / 0.9472 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/1.183, allocations: 0 / 0.9472 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of Templates: time 0.07008/1.253, allocations: 40.99 MB / 0.9873 GB, free: 3.02 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)