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.006359/0.00636, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001229/0.001229, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8301/0.8301, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.28 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1977, allocations: 80.92 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.01015/0.2079, allocations: 6.96 MB / 0.6714 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6758/0.8838, allocations: 155.7 MB / 0.8235 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.8856, allocations: 35.31 kB / 0.8235 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.8865, allocations: 281.4 kB / 0.8238 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.8895, allocations: 0.7266 MB / 0.8245 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.8927, allocations: 1.289 MB / 0.8257 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005322/0.898, allocations: 4.565 MB / 0.8302 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.9019, allocations: 2.877 MB / 0.833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/0.9054, allocations: 1.767 MB / 0.8347 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.9079, allocations: 1.781 MB / 0.8365 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006446/0.9086, allocations: 467.4 kB / 0.8369 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.9107, allocations: 1.059 MB / 0.838 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008303/0.9116, allocations: 0.9972 MB / 0.8389 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.9135, allocations: 1.874 MB / 0.8408 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006419/0.92, allocations: 5.524 MB / 0.8462 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.92, allocations: 6.094 kB / 0.8462 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.885e-06/0.92, allocations: 0 / 0.8462 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001484/0.9202, allocations: 0 / 0.8462 GB, free: 4.625 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.009697/0.9299, allocations: 3.859 MB / 0.8499 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.93, allocations: 13.11 kB / 0.8499 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00937/0.9393, allocations: 1.287 MB / 0.8512 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00471/0.9441, allocations: 2.14 MB / 0.8533 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.9443, allocations: 230 kB / 0.8535 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006215/0.9449, allocations: 288 kB / 0.8538 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.9551, allocations: 4.456 MB / 0.8581 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.9552, allocations: 4 kB / 0.8581 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.9556, allocations: 124 kB / 0.8583 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.9556, allocations: 76 kB / 0.8583 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.9668, allocations: 4.881 MB / 0.8631 GB, free: 3.781 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.02558/0.9924, allocations: 14.01 MB / 0.8768 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/1.004, allocations: 4.024 MB / 0.8807 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/1.008, allocations: 1.666 MB / 0.8823 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.01, allocations: 1.073 MB / 0.8834 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005108/1.015, allocations: 2.035 MB / 0.8854 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 4.619e-06/1.015, allocations: 0 / 0.8854 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01517/1.03, allocations: 5.226 MB / 0.8905 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.031, allocations: 205.9 kB / 0.8907 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/1.034, allocations: 1.932 MB / 0.8926 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005232/1.035, allocations: 61.7 kB / 0.8926 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.036, allocations: 1.168 MB / 0.8938 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.037, allocations: 0.7162 MB / 0.8945 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.039, allocations: 0.5189 MB / 0.895 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.039, allocations: 309.1 kB / 0.8953 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/1.043, allocations: 1.577 MB / 0.8968 GB, free: 140 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/1.047, allocations: 1.879 MB / 0.8986 GB, free: 14.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/1.056, allocations: 3.414 MB / 0.902 GB, free: 10.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.056, allocations: 12 kB / 0.902 GB, free: 10.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01094/1.067, allocations: 3.946 MB / 0.9058 GB, free: 6.711 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/1.067, allocations: 10.03 kB / 0.9058 GB, free: 6.703 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.067, allocations: 4 kB / 0.9058 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/1.068, allocations: 97.23 kB / 0.9059 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/1.072, allocations: 0.698 MB / 0.9066 GB, free: 5.902 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.074, allocations: 1.697 MB / 0.9083 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.078, allocations: 433.5 kB / 0.9087 GB, free: 3.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/1.078, allocations: 133.5 kB / 0.9088 GB, free: 3.504 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.002339/1.08, allocations: 0.921 MB / 0.9097 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009035/1.081, allocations: 217.5 kB / 0.9099 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.092, allocations: 4.202 MB / 0.914 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/1.092, allocations: 24 kB / 0.914 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.092, allocations: 4 kB / 0.914 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.092, allocations: 11.95 kB / 0.9141 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/1.109, allocations: 7.847 MB / 0.9217 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/1.109, allocations: 0 / 0.9217 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.112, allocations: 0.5734 MB / 0.9223 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/1.113, allocations: 80.78 kB / 0.9224 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.113, allocations: 67.94 kB / 0.9224 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/1.115, allocations: 1.724 MB / 0.9241 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.115, allocations: 3.938 kB / 0.9241 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008902/1.124, allocations: 3.464 MB / 0.9275 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.126, allocations: 0.7358 MB / 0.9282 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007117/1.127, allocations: 59.69 kB / 0.9283 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.13, allocations: 279.7 kB / 0.9285 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.13, allocations: 145.7 kB / 0.9287 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.13, allocations: 83.94 kB / 0.9288 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002974/1.133, allocations: 1.478 MB / 0.9302 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.133, allocations: 0 / 0.9302 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002915/1.136, allocations: 0.8721 MB / 0.9311 GB, free: 12.3 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.001807/1.138, allocations: 0.6927 MB / 0.9317 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008898/1.147, allocations: 3.585 MB / 0.9352 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.147, allocations: 384 / 0.9352 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004617/1.151, allocations: 1.798 MB / 0.937 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.155, allocations: 442.3 kB / 0.9374 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.175, allocations: 6.238 MB / 0.9435 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/1.178, allocations: 2.254 MB / 0.9457 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00444/1.183, allocations: 0.9064 MB / 0.9466 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.184, allocations: 287.2 kB / 0.9469 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of SimCode: time 9.11e-07/1.184, allocations: 0 / 0.9469 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.07083/1.255, allocations: 40.99 MB / 0.9869 GB, free: 3.387 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)