Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 179.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7878/0.7878, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 404.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 102.6 kB / 485.9 MB, free: 7.109 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 60.14 kB / 0.5636 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1648, allocations: 80.43 MB / 0.6421 GB, free: 5.367 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009567/0.1744, allocations: 7.066 MB / 0.649 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5507/0.7252, allocations: 153.2 MB / 0.7987 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.7266, allocations: 27.88 kB / 0.7987 GB, free: 0.8477 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.0007648/0.7274, allocations: 214.2 kB / 0.7989 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.7293, allocations: 0.5949 MB / 0.7995 GB, free: 44 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.732, allocations: 1.057 MB / 0.8005 GB, free: 15 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004123/0.7361, allocations: 3.954 MB / 0.8044 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.739, allocations: 2.396 MB / 0.8067 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.7424, allocations: 1.417 MB / 0.8081 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.7445, allocations: 1.59 MB / 0.8096 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.745, allocations: 200 kB / 0.8098 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.7467, allocations: 0.7727 MB / 0.8106 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.7474, allocations: 0.7235 MB / 0.8113 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.7493, allocations: 1.565 MB / 0.8128 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005414/0.7548, allocations: 4.385 MB / 0.8171 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.7548, allocations: 3.938 kB / 0.8171 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7548, allocations: 0 / 0.8171 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001708/0.755, allocations: 0 / 0.8171 GB, free: 13.88 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.009313/0.7643, allocations: 3.888 MB / 0.8209 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.7644, allocations: 8.031 kB / 0.8209 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009338/0.7737, allocations: 1.303 MB / 0.8222 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/0.7784, allocations: 1.907 MB / 0.8241 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.7787, allocations: 230.1 kB / 0.8243 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/0.7794, allocations: 296 kB / 0.8246 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.79, allocations: 4.219 MB / 0.8287 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.7901, allocations: 0 / 0.8287 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.7904, allocations: 127.9 kB / 0.8288 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.284e-05/0.7905, allocations: 72 kB / 0.8289 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.8018, allocations: 4.6 MB / 0.8334 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.8276, allocations: 12.87 MB / 0.8459 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.8383, allocations: 3.776 MB / 0.8496 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/0.8421, allocations: 1.555 MB / 0.8511 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.8433, allocations: 1.069 MB / 0.8522 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004404/0.8477, allocations: 1.944 MB / 0.8541 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=223): time 3.967e-06/0.8478, allocations: 0 / 0.8541 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=223): time 0.01266/0.8604, allocations: 4.898 MB / 0.8589 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.8606, allocations: 269.2 kB / 0.8591 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.8635, allocations: 1.951 MB / 0.861 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/0.8638, allocations: 61.7 kB / 0.8611 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.8649, allocations: 1.235 MB / 0.8623 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008031/0.8657, allocations: 0.747 MB / 0.863 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000907/0.8666, allocations: 0.5268 MB / 0.8635 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.8667, allocations: 305.1 kB / 0.8638 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/0.8703, allocations: 1.445 MB / 0.8652 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/0.8744, allocations: 1.76 MB / 0.8669 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008171/0.8826, allocations: 3.196 MB / 0.8701 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.8827, allocations: 0 / 0.8701 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01009/0.8928, allocations: 3.732 MB / 0.8737 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.8928, allocations: 12.06 kB / 0.8737 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.8929, allocations: 4 kB / 0.8737 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.8935, allocations: 92.78 kB / 0.8738 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.897, allocations: 0.7097 MB / 0.8745 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.8993, allocations: 1.54 MB / 0.876 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/0.9029, allocations: 438.5 kB / 0.8764 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.9032, allocations: 135.8 kB / 0.8766 GB, free: 15.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.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 (282): * Single equations (assignments): 281 * 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.001852/0.9051, allocations: 0.7954 MB / 0.8773 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/0.9058, allocations: 241.1 kB / 0.8776 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.9158, allocations: 4.031 MB / 0.8815 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.9159, allocations: 24 kB / 0.8815 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.9159, allocations: 3.938 kB / 0.8815 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.9159, allocations: 15.95 kB / 0.8815 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.9304, allocations: 7.232 MB / 0.8886 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9305, allocations: 4 kB / 0.8886 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/0.9334, allocations: 0.5928 MB / 0.8892 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.9339, allocations: 92.77 kB / 0.8893 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.9342, allocations: 67.94 kB / 0.8893 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.9361, allocations: 1.54 MB / 0.8908 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9361, allocations: 0 / 0.8908 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.9491, allocations: 6.077 MB / 0.8968 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.9507, allocations: 0.6732 MB / 0.8974 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.9511, allocations: 63.69 kB / 0.8975 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.9534, allocations: 283.6 kB / 0.8978 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.9538, allocations: 153.8 kB / 0.8979 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.954, allocations: 87.94 kB / 0.898 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002113/0.9561, allocations: 1.466 MB / 0.8994 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9561, allocations: 0 / 0.8994 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002712/0.9588, allocations: 0.8918 MB / 0.9003 GB, free: 6.449 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * 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.001597/0.9604, allocations: 0.6893 MB / 0.901 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00791/0.9683, allocations: 3.366 MB / 0.9043 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9684, allocations: 8.125 kB / 0.9043 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.972, allocations: 1.72 MB / 0.906 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.9743, allocations: 430.2 kB / 0.9064 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.9889, allocations: 9.013 MB / 0.9152 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.9908, allocations: 2.295 MB / 0.9174 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003648/0.9944, allocations: 0.9504 MB / 0.9183 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.9956, allocations: 303.2 kB / 0.9186 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/0.9956, allocations: 0 / 0.9186 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of Templates: time 0.414/1.41, allocations: 38.87 MB / 0.9566 GB, free: 250.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)