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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001782, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9356/0.9356, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.44 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1716, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01029/0.1819, allocations: 7.115 MB / 0.5913 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5233/0.7053, allocations: 155.5 MB / 0.7432 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.7071, allocations: 28.78 kB / 0.7432 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.708, allocations: 284.8 kB / 0.7435 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.7108, allocations: 0.7056 MB / 0.7442 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.7144, allocations: 1.213 MB / 0.7454 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006265/0.7207, allocations: 4.027 MB / 0.7493 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003904/0.7247, allocations: 2.648 MB / 0.7519 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.7284, allocations: 1.632 MB / 0.7535 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.7313, allocations: 1.727 MB / 0.7551 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.7323, allocations: 344 kB / 0.7555 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.7353, allocations: 0.9095 MB / 0.7564 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.7363, allocations: 0.8915 MB / 0.7572 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.7387, allocations: 1.714 MB / 0.7589 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006641/0.7453, allocations: 4.498 MB / 0.7633 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.7454, allocations: 4 kB / 0.7633 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.939e-06/0.7454, allocations: 0 / 0.7633 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001542/0.7456, allocations: 3.938 kB / 0.7633 GB, free: 5.652 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.008383/0.754, allocations: 3.857 MB / 0.7671 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.754, allocations: 8.031 kB / 0.7671 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009799/0.7638, allocations: 1.299 MB / 0.7684 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.768, allocations: 1.875 MB / 0.7702 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.7682, allocations: 234 kB / 0.7704 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/0.7688, allocations: 292 kB / 0.7707 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009027/0.7779, allocations: 4.217 MB / 0.7748 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.778, allocations: 7.922 kB / 0.7748 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/0.7783, allocations: 131.9 kB / 0.7749 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.7783, allocations: 76 kB / 0.775 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.789, allocations: 4.565 MB / 0.7795 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.8114, allocations: 12.87 MB / 0.792 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.8219, allocations: 3.762 MB / 0.7957 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/0.8256, allocations: 1.553 MB / 0.7972 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.8269, allocations: 1.085 MB / 0.7983 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004188/0.8311, allocations: 1.936 MB / 0.8002 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 4.008e-06/0.8311, allocations: 4 kB / 0.8002 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01281/0.8439, allocations: 4.901 MB / 0.805 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.8441, allocations: 269.2 kB / 0.8052 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.8473, allocations: 1.901 MB / 0.8071 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.8475, allocations: 69.7 kB / 0.8071 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.8487, allocations: 1.208 MB / 0.8083 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007952/0.8495, allocations: 0.7469 MB / 0.8091 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009884/0.8505, allocations: 0.5347 MB / 0.8096 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.8506, allocations: 301.1 kB / 0.8099 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/0.8543, allocations: 1.441 MB / 0.8113 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004375/0.8586, allocations: 1.761 MB / 0.813 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008828/0.8675, allocations: 3.19 MB / 0.8161 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.8676, allocations: 0 / 0.8161 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01033/0.8779, allocations: 3.733 MB / 0.8197 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.878, allocations: 11.94 kB / 0.8198 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.878, allocations: 4.469 kB / 0.8198 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.8786, allocations: 96.77 kB / 0.8199 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.8822, allocations: 0.7176 MB / 0.8206 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.8845, allocations: 1.639 MB / 0.8222 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.8881, allocations: 446.2 kB / 0.8226 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005097/0.8887, allocations: 131.8 kB / 0.8227 GB, free: 7.059 MB / 0.6387 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.002244/0.8909, allocations: 0.7916 MB / 0.8235 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/0.8919, allocations: 225.2 kB / 0.8237 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.9036, allocations: 4.035 MB / 0.8276 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.9036, allocations: 28 kB / 0.8277 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.9037, allocations: 0 / 0.8277 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/0.9037, allocations: 11.95 kB / 0.8277 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.9215, allocations: 7.22 MB / 0.8347 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9215, allocations: 0 / 0.8347 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/0.9246, allocations: 0.5928 MB / 0.8353 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.9251, allocations: 84.78 kB / 0.8354 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.9254, allocations: 63.95 kB / 0.8354 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.9274, allocations: 1.662 MB / 0.8371 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9274, allocations: 4 kB / 0.8371 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008747/0.9361, allocations: 3.326 MB / 0.8403 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/0.9378, allocations: 0.677 MB / 0.841 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007439/0.9386, allocations: 59.69 kB / 0.841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/0.9414, allocations: 277.5 kB / 0.8413 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/0.9418, allocations: 149.8 kB / 0.8414 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/0.9421, allocations: 91.94 kB / 0.8415 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002856/0.9449, allocations: 1.434 MB / 0.8429 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.945, allocations: 3.938 kB / 0.8429 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003129/0.9481, allocations: 0.8917 MB / 0.8438 GB, free: 1.027 MB / 0.6544 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.00193/0.95, allocations: 0.6813 MB / 0.8445 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0152/0.9653, allocations: 5.756 MB / 0.8501 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.9653, allocations: 4 kB / 0.8501 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.9699, allocations: 1.712 MB / 0.8518 GB, free: 9.047 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/0.9737, allocations: 457.8 kB / 0.8522 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.989, allocations: 6.319 MB / 0.8584 GB, free: 2.266 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.9914, allocations: 2.214 MB / 0.8605 GB, free: 20 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.3314/1.323, allocations: 0.9382 MB / 0.8615 GB, free: 213.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.324, allocations: 295.2 kB / 0.8617 GB, free: 213.5 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/1.324, allocations: 3.844 kB / 0.8617 GB, free: 213.5 MB / 0.67 GB Notification: Performance of Templates: time 0.08336/1.407, allocations: 39.03 MB / 0.8999 GB, free: 207.3 MB / 0.67 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)