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.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001569/0.001569, allocations: 195.2 kB / 16.25 MB, free: 6.637 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9239/0.9239, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 73.3 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1628, allocations: 81.01 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01316/0.176, allocations: 7.071 MB / 0.5914 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4389/0.615, allocations: 153.3 MB / 0.7411 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6163, allocations: 30.28 kB / 0.7411 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000787/0.6171, allocations: 211.3 kB / 0.7413 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.6193, allocations: 0.616 MB / 0.7419 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.6222, allocations: 1.084 MB / 0.743 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.6264, allocations: 4.079 MB / 0.7469 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.6294, allocations: 2.639 MB / 0.7495 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.6328, allocations: 1.65 MB / 0.7511 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.6349, allocations: 1.746 MB / 0.7528 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005147/0.6354, allocations: 340 kB / 0.7532 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6373, allocations: 0.9249 MB / 0.7541 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008903/0.6382, allocations: 0.8876 MB / 0.7549 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.6402, allocations: 1.714 MB / 0.7566 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.6463, allocations: 4.514 MB / 0.761 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.6464, allocations: 0 / 0.761 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6464, allocations: 0 / 0.761 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001625/0.6466, allocations: 0 / 0.761 GB, free: 7.633 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.009452/0.656, allocations: 3.857 MB / 0.7648 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6561, allocations: 11.97 kB / 0.7648 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/0.6654, allocations: 1.299 MB / 0.766 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.669, allocations: 1.875 MB / 0.7679 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.6693, allocations: 230.1 kB / 0.7681 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.6698, allocations: 292 kB / 0.7684 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/0.679, allocations: 4.207 MB / 0.7725 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/0.6791, allocations: 3.938 kB / 0.7725 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.6794, allocations: 131.9 kB / 0.7726 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/0.6795, allocations: 76 kB / 0.7727 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.69, allocations: 4.557 MB / 0.7771 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/0.714, allocations: 12.87 MB / 0.7897 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.7247, allocations: 3.772 MB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.7286, allocations: 1.555 MB / 0.7949 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.7301, allocations: 1.081 MB / 0.796 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004456/0.7346, allocations: 1.928 MB / 0.7978 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 3.857e-06/0.7346, allocations: 0 / 0.7978 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.01386/0.7485, allocations: 4.917 MB / 0.8026 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.7487, allocations: 257.3 kB / 0.8029 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.7517, allocations: 1.909 MB / 0.8048 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/0.7522, allocations: 61.7 kB / 0.8048 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7534, allocations: 1.219 MB / 0.806 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.7544, allocations: 0.747 MB / 0.8067 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009272/0.7553, allocations: 0.523 MB / 0.8072 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7554, allocations: 309.1 kB / 0.8075 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/0.7591, allocations: 1.445 MB / 0.809 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/0.7632, allocations: 1.761 MB / 0.8107 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.7711, allocations: 3.182 MB / 0.8138 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7711, allocations: 0 / 0.8138 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01024/0.7814, allocations: 3.728 MB / 0.8174 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.7814, allocations: 7.938 kB / 0.8174 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.7815, allocations: 8 kB / 0.8174 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.7821, allocations: 93.23 kB / 0.8175 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/0.786, allocations: 0.7214 MB / 0.8182 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.7885, allocations: 1.647 MB / 0.8198 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.7923, allocations: 449.3 kB / 0.8203 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/0.7928, allocations: 131.8 kB / 0.8204 GB, free: 9.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.001887/0.7946, allocations: 0.7924 MB / 0.8212 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/0.7954, allocations: 225.2 kB / 0.8214 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.8057, allocations: 4.033 MB / 0.8253 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.8058, allocations: 28 kB / 0.8253 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8058, allocations: 0 / 0.8253 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.8058, allocations: 11.95 kB / 0.8254 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.8201, allocations: 7.216 MB / 0.8324 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8201, allocations: 4 kB / 0.8324 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/0.8231, allocations: 0.5928 MB / 0.833 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.8236, allocations: 80.78 kB / 0.8331 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/0.8239, allocations: 67.94 kB / 0.8331 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.826, allocations: 1.67 MB / 0.8348 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.826, allocations: 4 kB / 0.8348 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008193/0.8342, allocations: 3.322 MB / 0.838 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.8357, allocations: 0.677 MB / 0.8387 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/0.8362, allocations: 59.69 kB / 0.8387 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.8386, allocations: 279.6 kB / 0.839 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.8389, allocations: 149.8 kB / 0.8391 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/0.8391, allocations: 83.94 kB / 0.8392 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002248/0.8414, allocations: 1.442 MB / 0.8406 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.893e-06/0.8414, allocations: 0 / 0.8406 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002655/0.8441, allocations: 0.8954 MB / 0.8415 GB, free: 3.016 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.002191/0.8463, allocations: 0.6802 MB / 0.8422 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01512/0.8614, allocations: 5.76 MB / 0.8478 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.8614, allocations: 0 / 0.8478 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.8656, allocations: 1.72 MB / 0.8495 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.868, allocations: 453.3 kB / 0.8499 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.8827, allocations: 7.718 MB / 0.8574 GB, free: 2.871 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.8847, allocations: 2.212 MB / 0.8596 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.3229/1.208, allocations: 0.9405 MB / 0.8605 GB, free: 105.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.209, allocations: 303.5 kB / 0.8608 GB, free: 105.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.209, allocations: 0 / 0.8608 GB, free: 105.6 MB / 0.67 GB Notification: Performance of Templates: time 0.07346/1.283, allocations: 38.93 MB / 0.8988 GB, free: 96.34 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)