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.001452/0.001452, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.00137/0.00137, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8222/0.8222, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4164, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007259/0.4237, allocations: 6.956 MB / 0.5883 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1696/0.5933, allocations: 155.7 MB / 0.7404 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.5961, allocations: 31.81 kB / 0.7404 GB, free: 10.93 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.001003/0.5972, allocations: 297.2 kB / 0.7407 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.6003, allocations: 0.7021 MB / 0.7414 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.6034, allocations: 1.29 MB / 0.7426 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.6083, allocations: 4.559 MB / 0.7471 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.6119, allocations: 2.685 MB / 0.7497 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3999/1.012, allocations: 1.741 MB / 0.7514 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/1.015, allocations: 1.792 MB / 0.7531 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009713/1.016, allocations: 470.1 kB / 0.7536 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/1.018, allocations: 1.061 MB / 0.7546 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007622/1.019, allocations: 0.9936 MB / 0.7556 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/1.021, allocations: 1.886 MB / 0.7574 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007133/1.028, allocations: 5.551 MB / 0.7629 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.028, allocations: 6.688 kB / 0.7629 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/1.028, allocations: 0 / 0.7629 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002255/1.028, allocations: 2.875 kB / 0.7629 GB, free: 3.871 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.0113/1.04, allocations: 3.9 MB / 0.7667 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.04, allocations: 7.406 kB / 0.7667 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.05, allocations: 1.281 MB / 0.7679 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/1.056, allocations: 2.172 MB / 0.7701 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/1.057, allocations: 227.6 kB / 0.7703 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/1.058, allocations: 293.4 kB / 0.7706 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.069, allocations: 4.448 MB / 0.7749 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.709e-05/1.069, allocations: 8.688 kB / 0.7749 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/1.069, allocations: 124.4 kB / 0.775 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/1.069, allocations: 74.62 kB / 0.7751 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.08, allocations: 4.912 MB / 0.7799 GB, free: 1.238 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.03261/1.113, allocations: 14.03 MB / 0.7936 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/1.125, allocations: 4.032 MB / 0.7975 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005043/1.131, allocations: 1.667 MB / 0.7992 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/1.132, allocations: 1.075 MB / 0.8002 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005625/1.138, allocations: 2.036 MB / 0.8022 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 7.725e-06/1.138, allocations: 0.875 kB / 0.8022 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01671/1.155, allocations: 5.223 MB / 0.8073 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.155, allocations: 207 kB / 0.8075 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/1.159, allocations: 1.975 MB / 0.8094 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006998/1.159, allocations: 63.45 kB / 0.8095 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.161, allocations: 1.191 MB / 0.8106 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.162, allocations: 0.7155 MB / 0.8113 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.163, allocations: 0.5222 MB / 0.8119 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.163, allocations: 301.1 kB / 0.8121 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/1.166, allocations: 1.581 MB / 0.8137 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.17, allocations: 1.87 MB / 0.8155 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007261/1.177, allocations: 3.427 MB / 0.8189 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.177, allocations: 0 / 0.8189 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009896/1.187, allocations: 3.956 MB / 0.8227 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/1.187, allocations: 11.72 kB / 0.8227 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.187, allocations: 8 kB / 0.8227 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/1.188, allocations: 97.42 kB / 0.8228 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/1.192, allocations: 0.696 MB / 0.8235 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.194, allocations: 1.696 MB / 0.8252 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.198, allocations: 439 kB / 0.8256 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005961/1.199, allocations: 131.8 kB / 0.8257 GB, free: 10.52 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.002521/1.202, allocations: 0.9348 MB / 0.8266 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008696/1.202, allocations: 221.5 kB / 0.8268 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.213, allocations: 4.206 MB / 0.8309 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/1.213, allocations: 24 kB / 0.831 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.213, allocations: 0 / 0.831 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/1.213, allocations: 11.95 kB / 0.831 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/1.229, allocations: 7.859 MB / 0.8387 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.229, allocations: 0 / 0.8387 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/1.232, allocations: 0.5781 MB / 0.8392 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/1.233, allocations: 80.78 kB / 0.8393 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/1.233, allocations: 67.95 kB / 0.8394 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.235, allocations: 1.718 MB / 0.841 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.235, allocations: 0 / 0.841 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.244, allocations: 3.475 MB / 0.8444 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.245, allocations: 0.7474 MB / 0.8452 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005433/1.246, allocations: 63.69 kB / 0.8452 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.248, allocations: 263.6 kB / 0.8455 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/1.249, allocations: 149.8 kB / 0.8456 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.249, allocations: 83.95 kB / 0.8457 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002437/1.251, allocations: 1.518 MB / 0.8472 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/1.251, allocations: 0 / 0.8472 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002936/1.254, allocations: 0.8683 MB / 0.848 GB, free: 3.402 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.004627/1.259, allocations: 0.677 MB / 0.8487 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008839/1.268, allocations: 3.59 MB / 0.8522 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.268, allocations: 4 kB / 0.8522 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.272, allocations: 1.79 MB / 0.8539 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.274, allocations: 448 kB / 0.8544 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.287, allocations: 6.3 MB / 0.8605 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/1.289, allocations: 2.277 MB / 0.8627 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003685/1.293, allocations: 0.9222 MB / 0.8636 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.294, allocations: 295.2 kB / 0.8639 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.294, allocations: 0 / 0.8639 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of Templates: time 0.06769/1.362, allocations: 40.42 MB / 0.9034 GB, free: 11.36 MB / 0.6856 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)