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.001169/0.001169, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001213/0.001213, allocations: 189 kB / 16.25 MB, free: 6.152 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9858/0.9858, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.16 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1913, allocations: 80.93 MB / 0.5839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009099/0.2005, allocations: 7.079 MB / 0.5908 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.532/0.7325, allocations: 153.3 MB / 0.7404 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.7339, allocations: 29.72 kB / 0.7405 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.7347, allocations: 211.6 kB / 0.7407 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.7375, allocations: 0.6145 MB / 0.7413 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.7407, allocations: 1.092 MB / 0.7423 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004571/0.7453, allocations: 4.075 MB / 0.7463 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.7484, allocations: 2.645 MB / 0.7489 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.7519, allocations: 1.64 MB / 0.7505 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.7542, allocations: 1.742 MB / 0.7522 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006479/0.7549, allocations: 348 kB / 0.7525 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.757, allocations: 0.9172 MB / 0.7534 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008031/0.7578, allocations: 0.8837 MB / 0.7543 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.76, allocations: 1.717 MB / 0.756 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006118/0.7661, allocations: 4.506 MB / 0.7604 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.7662, allocations: 0 / 0.7604 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7662, allocations: 0 / 0.7604 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000145/0.7663, allocations: 0 / 0.7604 GB, free: 8.566 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.008949/0.7753, allocations: 3.872 MB / 0.7642 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.7754, allocations: 12.03 kB / 0.7642 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009355/0.7847, allocations: 1.291 MB / 0.7654 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/0.7887, allocations: 1.872 MB / 0.7673 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.7889, allocations: 230.1 kB / 0.7675 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.7894, allocations: 292 kB / 0.7678 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008672/0.7981, allocations: 4.209 MB / 0.7719 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.7982, allocations: 3.938 kB / 0.7719 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/0.7985, allocations: 127.9 kB / 0.772 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.7986, allocations: 76 kB / 0.7721 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.8088, allocations: 4.569 MB / 0.7765 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.8298, allocations: 12.86 MB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.8402, allocations: 3.773 MB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/0.8443, allocations: 1.565 MB / 0.7943 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.8456, allocations: 1.073 MB / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004384/0.85, allocations: 1.944 MB / 0.7972 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 4.088e-06/0.8501, allocations: 0 / 0.7972 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.01266/0.8627, allocations: 4.901 MB / 0.802 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.8629, allocations: 257.3 kB / 0.8023 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.8658, allocations: 1.909 MB / 0.8041 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.8661, allocations: 65.7 kB / 0.8042 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.8671, allocations: 1.212 MB / 0.8054 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007309/0.8679, allocations: 0.7508 MB / 0.8061 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008464/0.8687, allocations: 0.5269 MB / 0.8066 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8688, allocations: 301.1 kB / 0.8069 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.8724, allocations: 1.445 MB / 0.8083 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.8763, allocations: 1.761 MB / 0.8101 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/0.8837, allocations: 3.188 MB / 0.8132 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.8838, allocations: 0 / 0.8132 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009672/0.8935, allocations: 3.732 MB / 0.8168 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.8935, allocations: 13.12 kB / 0.8168 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8935, allocations: 4 kB / 0.8168 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.8942, allocations: 96.72 kB / 0.8169 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.898, allocations: 0.7097 MB / 0.8176 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.9002, allocations: 1.646 MB / 0.8192 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.9041, allocations: 445.4 kB / 0.8196 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004386/0.9046, allocations: 131.8 kB / 0.8198 GB, free: 9.977 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.001836/0.9064, allocations: 0.7955 MB / 0.8205 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/0.9071, allocations: 225.2 kB / 0.8208 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.9172, allocations: 4.034 MB / 0.8247 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.9173, allocations: 24 kB / 0.8247 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9173, allocations: 0 / 0.8247 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.9174, allocations: 11.95 kB / 0.8247 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.9312, allocations: 7.22 MB / 0.8318 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.9312, allocations: 0 / 0.8318 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/0.9341, allocations: 0.6045 MB / 0.8324 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.9346, allocations: 72.73 kB / 0.8324 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.9348, allocations: 67.94 kB / 0.8325 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.9368, allocations: 1.67 MB / 0.8341 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9368, allocations: 4.062 kB / 0.8341 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007799/0.9446, allocations: 3.319 MB / 0.8374 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.9459, allocations: 0.6731 MB / 0.838 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.9464, allocations: 71.67 kB / 0.8381 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/0.9488, allocations: 274 kB / 0.8384 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.9491, allocations: 157.8 kB / 0.8385 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/0.9493, allocations: 83.95 kB / 0.8386 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002009/0.9513, allocations: 1.434 MB / 0.84 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9513, allocations: 0 / 0.84 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002342/0.9537, allocations: 0.8916 MB / 0.8409 GB, free: 3.949 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.001549/0.9553, allocations: 0.6842 MB / 0.8415 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01399/0.9693, allocations: 5.764 MB / 0.8472 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9693, allocations: 0 / 0.8472 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.9729, allocations: 1.724 MB / 0.8489 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.9751, allocations: 447 kB / 0.8493 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.9879, allocations: 7.718 MB / 0.8568 GB, free: 3.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.9896, allocations: 2.209 MB / 0.859 GB, free: 1.543 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003608/0.9932, allocations: 0.9461 MB / 0.8599 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.9944, allocations: 295.2 kB / 0.8602 GB, free: 312 kB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.9944, allocations: 4 kB / 0.8602 GB, free: 308 kB / 0.67 GB Notification: Performance of Templates: time 0.4256/1.42, allocations: 38.93 MB / 0.8982 GB, free: 207.9 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)