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.001275/0.001275, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001332/0.001332, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.779/0.779, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 54.81 kB / 0.5013 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1847, allocations: 80.22 MB / 0.5796 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009046/0.1938, allocations: 6.919 MB / 0.5864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4919/0.6857, allocations: 153.4 MB / 0.7362 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.6876, allocations: 28.44 kB / 0.7362 GB, free: 13.9 MB / 0.5606 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.0009491/0.6886, allocations: 229 kB / 0.7364 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.6911, allocations: 0.6148 MB / 0.737 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.6943, allocations: 1.15 MB / 0.7381 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00486/0.6991, allocations: 4.576 MB / 0.7426 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.7023, allocations: 2.69 MB / 0.7452 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.7057, allocations: 1.763 MB / 0.747 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.7082, allocations: 1.783 MB / 0.7487 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007659/0.7089, allocations: 471.9 kB / 0.7491 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.7113, allocations: 1.046 MB / 0.7502 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009044/0.7122, allocations: 1.001 MB / 0.7511 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.7148, allocations: 1.886 MB / 0.753 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007325/0.7222, allocations: 5.419 MB / 0.7583 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7222, allocations: 0 / 0.7583 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-05/0.7222, allocations: 4 kB / 0.7583 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001762/0.7224, allocations: 0 / 0.7583 GB, free: 12.49 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.01153/0.7339, allocations: 3.888 MB / 0.7621 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.734, allocations: 12.03 kB / 0.7621 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/0.7437, allocations: 1.291 MB / 0.7634 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.748, allocations: 2.136 MB / 0.7654 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.7483, allocations: 234 kB / 0.7657 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005008/0.7488, allocations: 288 kB / 0.7659 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.7586, allocations: 4.456 MB / 0.7703 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.7587, allocations: 3.938 kB / 0.7703 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.759, allocations: 124 kB / 0.7704 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.7591, allocations: 72 kB / 0.7705 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.77, allocations: 4.909 MB / 0.7753 GB, free: 10.84 MB / 0.5919 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.02621/0.7963, allocations: 14.15 MB / 0.7891 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.8069, allocations: 4.04 MB / 0.793 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004249/0.8112, allocations: 1.659 MB / 0.7947 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.8128, allocations: 1.069 MB / 0.7957 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005005/0.8178, allocations: 2.035 MB / 0.7977 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=214): time 6.913e-06/0.8178, allocations: 0 / 0.7977 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=214): time 0.01436/0.8322, allocations: 5.23 MB / 0.8028 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8323, allocations: 201.9 kB / 0.803 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/0.836, allocations: 1.985 MB / 0.8049 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.8363, allocations: 61.7 kB / 0.805 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.8376, allocations: 1.184 MB / 0.8061 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/0.8385, allocations: 0.72 MB / 0.8068 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.8396, allocations: 0.5189 MB / 0.8074 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8397, allocations: 301.1 kB / 0.8076 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/0.8436, allocations: 1.585 MB / 0.8092 GB, free: 7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.8477, allocations: 1.867 MB / 0.811 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/0.8556, allocations: 3.421 MB / 0.8144 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.8557, allocations: 4 kB / 0.8144 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01114/0.8668, allocations: 3.949 MB / 0.8182 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.8669, allocations: 8 kB / 0.8182 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.8669, allocations: 4.469 kB / 0.8182 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.8676, allocations: 104.7 kB / 0.8183 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/0.8714, allocations: 0.698 MB / 0.819 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.8751, allocations: 1.704 MB / 0.8207 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.88, allocations: 429.6 kB / 0.8211 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/0.8808, allocations: 127.8 kB / 0.8212 GB, free: 10.37 MB / 0.6387 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.004157/0.8849, allocations: 0.9445 MB / 0.8221 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/0.8864, allocations: 217.3 kB / 0.8223 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.8991, allocations: 4.211 MB / 0.8264 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.8991, allocations: 24 kB / 0.8265 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8992, allocations: 4 kB / 0.8265 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/0.8992, allocations: 11.95 kB / 0.8265 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.9159, allocations: 7.904 MB / 0.8342 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.9159, allocations: 0 / 0.8342 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/0.919, allocations: 0.5734 MB / 0.8348 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.9195, allocations: 80.72 kB / 0.8348 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002943/0.9199, allocations: 67.95 kB / 0.8349 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.922, allocations: 1.724 MB / 0.8366 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.922, allocations: 0 / 0.8366 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008781/0.9308, allocations: 3.462 MB / 0.84 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.9327, allocations: 0.7474 MB / 0.8407 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008444/0.9336, allocations: 67.69 kB / 0.8408 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/0.9365, allocations: 268.6 kB / 0.841 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.9369, allocations: 153.7 kB / 0.8412 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/0.9371, allocations: 83.94 kB / 0.8412 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004033/0.9412, allocations: 1.515 MB / 0.8427 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9412, allocations: 0 / 0.8427 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004368/0.9456, allocations: 0.8721 MB / 0.8436 GB, free: 3.043 MB / 0.6544 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.002097/0.9477, allocations: 0.68 MB / 0.8442 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01755/0.9652, allocations: 5.924 MB / 0.85 GB, free: 12.63 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.9653, allocations: 0 / 0.85 GB, free: 12.63 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/0.9701, allocations: 1.798 MB / 0.8518 GB, free: 10.83 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/0.9736, allocations: 444.4 kB / 0.8522 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.99, allocations: 7.746 MB / 0.8598 GB, free: 2.645 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002872/0.9929, allocations: 2.281 MB / 0.862 GB, free: 340 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.3051/1.298, allocations: 0.9192 MB / 0.8629 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.3, allocations: 293.2 kB / 0.8632 GB, free: 217.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.3, allocations: 0 / 0.8632 GB, free: 217.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07346/1.373, allocations: 40.34 MB / 0.9026 GB, free: 210.7 MB / 0.67 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)