Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 191 kB / 16.13 MB, free: 6.656 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7737/0.7737, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.19 kB / 0.5011 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.21 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009716/0.1747, allocations: 7.078 MB / 0.5863 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4889/0.6637, allocations: 153.2 MB / 0.7359 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.6653, allocations: 30.06 kB / 0.736 GB, free: 13.99 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.0008885/0.6662, allocations: 215.1 kB / 0.7362 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.6684, allocations: 0.5927 MB / 0.7368 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6713, allocations: 1.057 MB / 0.7378 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004456/0.6758, allocations: 3.912 MB / 0.7416 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.6789, allocations: 2.397 MB / 0.744 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.6819, allocations: 1.409 MB / 0.7453 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.6839, allocations: 1.596 MB / 0.7469 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.6843, allocations: 196.9 kB / 0.7471 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.6861, allocations: 0.7778 MB / 0.7478 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005965/0.6867, allocations: 0.7235 MB / 0.7485 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.6884, allocations: 1.557 MB / 0.7501 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.6927, allocations: 4.381 MB / 0.7543 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6927, allocations: 0 / 0.7543 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd: time 6.542e-06/0.6927, allocations: 0 / 0.7543 GB, free: 220 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.942e-05/0.6928, allocations: 3.938 kB / 0.7543 GB, free: 216 kB / 0.5606 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.007178/0.7, allocations: 3.892 MB / 0.7581 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.7, allocations: 8.031 kB / 0.7582 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.71, allocations: 1.303 MB / 0.7594 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.7152, allocations: 1.911 MB / 0.7613 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.7154, allocations: 226.1 kB / 0.7615 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.7166, allocations: 296 kB / 0.7618 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.7271, allocations: 4.212 MB / 0.7659 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.7272, allocations: 3.938 kB / 0.7659 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.7276, allocations: 127.9 kB / 0.766 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.7276, allocations: 72 kB / 0.7661 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.7388, allocations: 4.596 MB / 0.7706 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.7608, allocations: 12.87 MB / 0.7832 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.7711, allocations: 3.784 MB / 0.7868 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004232/0.7754, allocations: 1.549 MB / 0.7884 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.7769, allocations: 1.081 MB / 0.7894 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005188/0.7821, allocations: 1.94 MB / 0.7913 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 4.889e-06/0.7821, allocations: 0 / 0.7913 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.01355/0.7957, allocations: 4.901 MB / 0.7961 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.7959, allocations: 261.3 kB / 0.7963 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.7993, allocations: 1.947 MB / 0.7983 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000317/0.7996, allocations: 73.7 kB / 0.7983 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.8008, allocations: 1.224 MB / 0.7995 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008331/0.8016, allocations: 0.759 MB / 0.8003 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/0.8026, allocations: 0.5268 MB / 0.8008 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8027, allocations: 301.1 kB / 0.8011 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.8063, allocations: 1.448 MB / 0.8025 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/0.8104, allocations: 1.756 MB / 0.8042 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007818/0.8183, allocations: 3.19 MB / 0.8073 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.8183, allocations: 0 / 0.8073 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009964/0.8283, allocations: 3.74 MB / 0.811 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.8283, allocations: 8 kB / 0.811 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.8284, allocations: 4 kB / 0.811 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.829, allocations: 92.83 kB / 0.8111 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.8327, allocations: 0.7137 MB / 0.8118 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.8348, allocations: 1.532 MB / 0.8132 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/0.8387, allocations: 437.4 kB / 0.8137 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006709/0.8394, allocations: 131.8 kB / 0.8138 GB, free: 1.586 MB / 0.6231 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.002739/0.8421, allocations: 0.8071 MB / 0.8146 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.8432, allocations: 229.2 kB / 0.8148 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.8548, allocations: 4.031 MB / 0.8187 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.8548, allocations: 27.94 kB / 0.8188 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.8548, allocations: 3.938 kB / 0.8188 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/0.8549, allocations: 11.95 kB / 0.8188 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.8698, allocations: 7.236 MB / 0.8258 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.8698, allocations: 0 / 0.8258 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/0.8732, allocations: 0.5928 MB / 0.8264 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/0.8738, allocations: 92.7 kB / 0.8265 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/0.8741, allocations: 71.95 kB / 0.8266 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.8759, allocations: 1.544 MB / 0.8281 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.876, allocations: 0.7031 kB / 0.8281 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008714/0.8847, allocations: 3.334 MB / 0.8313 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.8865, allocations: 0.6731 MB / 0.832 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009298/0.8874, allocations: 67.53 kB / 0.8321 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/0.8905, allocations: 284.6 kB / 0.8323 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.8909, allocations: 149.8 kB / 0.8325 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.8912, allocations: 83.94 kB / 0.8326 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002701/0.8939, allocations: 1.47 MB / 0.834 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8939, allocations: 0 / 0.834 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002868/0.8968, allocations: 0.88 MB / 0.8349 GB, free: 11.6 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.001821/0.8986, allocations: 0.6909 MB / 0.8355 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009958/0.9086, allocations: 3.374 MB / 0.8388 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.9087, allocations: 3.984 kB / 0.8388 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006261/0.915, allocations: 1.712 MB / 0.8405 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/0.9189, allocations: 426.1 kB / 0.8409 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.938, allocations: 7.761 MB / 0.8485 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/0.9406, allocations: 2.226 MB / 0.8507 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006077/0.9467, allocations: 0.9505 MB / 0.8516 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/0.9485, allocations: 307.2 kB / 0.8519 GB, free: 10.29 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.9485, allocations: 0 / 0.8519 GB, free: 10.29 MB / 0.67 GB Notification: Performance of Templates: time 0.3653/1.314, allocations: 37.68 MB / 0.8887 GB, free: 214.7 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)