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.001294/0.001294, 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.001323/0.001323, allocations: 193.4 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.6 MB / 425.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 60.61 kB / 0.5058 GB, free: 4.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1969, allocations: 81.02 MB / 0.585 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01072/0.2077, allocations: 7.112 MB / 0.5919 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5443/0.7521, allocations: 155.5 MB / 0.7438 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.7537, allocations: 38.22 kB / 0.7438 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.7547, allocations: 282.8 kB / 0.7441 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.7575, allocations: 0.7008 MB / 0.7448 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.7613, allocations: 1.212 MB / 0.7459 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005566/0.7669, allocations: 4.032 MB / 0.7499 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.7704, allocations: 2.65 MB / 0.7525 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.7741, allocations: 1.633 MB / 0.7541 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.7768, allocations: 1.731 MB / 0.7558 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006936/0.7775, allocations: 340 kB / 0.7561 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.7799, allocations: 0.9172 MB / 0.757 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009238/0.7808, allocations: 0.8799 MB / 0.7578 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.7832, allocations: 1.717 MB / 0.7595 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006238/0.7895, allocations: 4.498 MB / 0.7639 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7895, allocations: 0 / 0.7639 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7896, allocations: 4 kB / 0.7639 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000116/0.7897, allocations: 4 kB / 0.7639 GB, free: 4.73 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.008615/0.7983, allocations: 3.861 MB / 0.7677 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.7984, allocations: 8.031 kB / 0.7677 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009666/0.808, allocations: 1.299 MB / 0.769 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.8122, allocations: 1.868 MB / 0.7708 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.8125, allocations: 234 kB / 0.771 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007839/0.8133, allocations: 299.6 kB / 0.7713 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.8238, allocations: 4.214 MB / 0.7754 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.8239, allocations: 0 / 0.7754 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.8242, allocations: 131.9 kB / 0.7755 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.8243, allocations: 76 kB / 0.7756 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.8366, allocations: 4.569 MB / 0.7801 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.8638, allocations: 12.86 MB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.8758, allocations: 3.769 MB / 0.7963 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004617/0.8805, allocations: 1.551 MB / 0.7978 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.8825, allocations: 1.085 MB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006914/0.8894, allocations: 1.932 MB / 0.8008 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 8.306e-06/0.8895, allocations: 4 kB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01614/0.9056, allocations: 4.902 MB / 0.8056 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.9059, allocations: 265.3 kB / 0.8058 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.9099, allocations: 1.905 MB / 0.8077 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006498/0.9105, allocations: 65.7 kB / 0.8077 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.912, allocations: 1.212 MB / 0.8089 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.9134, allocations: 0.7509 MB / 0.8097 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.9153, allocations: 0.5268 MB / 0.8102 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9154, allocations: 305.1 kB / 0.8105 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/0.9198, allocations: 1.445 MB / 0.8119 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.9246, allocations: 1.761 MB / 0.8136 GB, free: 340 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009224/0.9338, allocations: 3.185 MB / 0.8167 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.9339, allocations: 3.938 kB / 0.8167 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01248/0.9464, allocations: 3.742 MB / 0.8204 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.9465, allocations: 4 kB / 0.8204 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.9465, allocations: 8 kB / 0.8204 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.9472, allocations: 89.14 kB / 0.8205 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/0.9511, allocations: 0.7176 MB / 0.8212 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.9537, allocations: 1.643 MB / 0.8228 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.9577, allocations: 453.4 kB / 0.8232 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006768/0.9584, allocations: 131.8 kB / 0.8233 GB, free: 6.141 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.002572/0.961, allocations: 0.7915 MB / 0.8241 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.9623, allocations: 225.2 kB / 0.8243 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.9752, allocations: 4.025 MB / 0.8282 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/0.9753, allocations: 31.92 kB / 0.8283 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.9753, allocations: 8 kB / 0.8283 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.9754, allocations: 11.95 kB / 0.8283 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.9938, allocations: 7.22 MB / 0.8353 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.9939, allocations: 0 / 0.8353 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/0.9973, allocations: 0.5968 MB / 0.8359 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/0.9978, allocations: 80.78 kB / 0.836 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/0.9982, allocations: 63.95 kB / 0.8361 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/1, allocations: 1.658 MB / 0.8377 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.001, allocations: 7.938 kB / 0.8377 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00976/1.01, allocations: 3.322 MB / 0.8409 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.012, allocations: 0.6809 MB / 0.8416 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007916/1.013, allocations: 59.69 kB / 0.8417 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.016, allocations: 276.8 kB / 0.8419 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/1.016, allocations: 161.7 kB / 0.8421 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.017, allocations: 92 kB / 0.8422 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00289/1.02, allocations: 1.43 MB / 0.8436 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.31e-07/1.02, allocations: 0 / 0.8436 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003069/1.023, allocations: 0.8917 MB / 0.8444 GB, free: 100 kB / 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.002479/1.025, allocations: 0.6896 MB / 0.8451 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.042, allocations: 5.752 MB / 0.8507 GB, free: 9.848 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.042, allocations: 8.125 kB / 0.8507 GB, free: 9.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005191/1.047, allocations: 1.708 MB / 0.8524 GB, free: 8.117 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.051, allocations: 445.3 kB / 0.8528 GB, free: 7.699 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.069, allocations: 6.323 MB / 0.859 GB, free: 1.352 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3399/1.409, allocations: 2.207 MB / 0.8611 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00384/1.413, allocations: 0.944 MB / 0.8621 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.414, allocations: 305.3 kB / 0.8624 GB, free: 213.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.414, allocations: 0 / 0.8624 GB, free: 213.8 MB / 0.67 GB Notification: Performance of Templates: time 0.08246/1.496, allocations: 39.01 MB / 0.9005 GB, free: 207 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)