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.004652/0.004652, allocations: 101.4 kB / 15.73 MB, free: 6.48 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.0011/0.0011, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9558/0.9558, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5425, allocations: 80.91 MB / 0.6648 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.008398/0.5509, allocations: 7.116 MB / 0.6718 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.7371, allocations: 155.5 MB / 0.8237 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.74, allocations: 31.81 kB / 0.8237 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7417, allocations: 289.1 kB / 0.824 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.7457, allocations: 0.7253 MB / 0.8247 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.7491, allocations: 1.214 MB / 0.8259 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0054/0.7545, allocations: 4.059 MB / 0.8298 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.7585, allocations: 2.642 MB / 0.8324 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.7617, allocations: 1.668 MB / 0.834 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.7644, allocations: 1.746 MB / 0.8358 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.7657, allocations: 340 kB / 0.8361 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.7682, allocations: 0.9445 MB / 0.837 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.7696, allocations: 0.8954 MB / 0.8379 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.7724, allocations: 1.714 MB / 0.8395 GB, free: 14 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006472/0.7789, allocations: 4.635 MB / 0.8441 GB, free: 9.352 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.779, allocations: 0 / 0.8441 GB, free: 9.352 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/0.779, allocations: 4 kB / 0.8441 GB, free: 9.348 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001874/0.7792, allocations: 0 / 0.8441 GB, free: 9.348 MB / 0.67 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.009305/0.7885, allocations: 3.865 MB / 0.8479 GB, free: 5.414 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.7885, allocations: 12.03 kB / 0.8479 GB, free: 5.402 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008431/0.797, allocations: 1.291 MB / 0.8491 GB, free: 4.105 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.8002, allocations: 1.914 MB / 0.851 GB, free: 2.137 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.8003, allocations: 230.1 kB / 0.8512 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.8008, allocations: 296 kB / 0.8515 GB, free: 1.621 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007555/0.8083, allocations: 4.212 MB / 0.8556 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.8084, allocations: 7.875 kB / 0.8556 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.8087, allocations: 128 kB / 0.8557 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.8087, allocations: 72 kB / 0.8558 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009129/0.8179, allocations: 4.569 MB / 0.8603 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4396/1.258, allocations: 12.74 MB / 0.8727 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.269, allocations: 3.762 MB / 0.8764 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004188/1.273, allocations: 1.561 MB / 0.8779 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.274, allocations: 1.094 MB / 0.879 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004366/1.278, allocations: 1.931 MB / 0.8809 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 5.42e-06/1.278, allocations: 3.656 kB / 0.8809 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01256/1.291, allocations: 4.908 MB / 0.8857 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.291, allocations: 259.5 kB / 0.8859 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.294, allocations: 1.903 MB / 0.8878 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/1.294, allocations: 66.95 kB / 0.8878 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009143/1.295, allocations: 1.219 MB / 0.889 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/1.296, allocations: 0.7487 MB / 0.8898 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009091/1.297, allocations: 0.5241 MB / 0.8903 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/1.297, allocations: 306.3 kB / 0.8906 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/1.3, allocations: 1.444 MB / 0.892 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/1.304, allocations: 1.757 MB / 0.8937 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006868/1.311, allocations: 3.189 MB / 0.8968 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.311, allocations: 2.219 kB / 0.8968 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009396/1.32, allocations: 3.739 MB / 0.9005 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.32, allocations: 8.031 kB / 0.9005 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.32, allocations: 5.875 kB / 0.9005 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/1.321, allocations: 86.34 kB / 0.9005 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/1.324, allocations: 0.7207 MB / 0.9013 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/1.327, allocations: 1.648 MB / 0.9029 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/1.33, allocations: 441.1 kB / 0.9033 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/1.33, allocations: 131.7 kB / 0.9034 GB, free: 167.6 MB / 0.6856 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.001708/1.332, allocations: 0.7903 MB / 0.9042 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/1.332, allocations: 228.4 kB / 0.9044 GB, free: 166.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/1.341, allocations: 4.023 MB / 0.9083 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.341, allocations: 23.66 kB / 0.9083 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.341, allocations: 0 / 0.9083 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/1.341, allocations: 15.94 kB / 0.9084 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.352, allocations: 7.17 MB / 0.9154 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.352, allocations: 0 / 0.9154 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.355, allocations: 0.6046 MB / 0.916 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/1.355, allocations: 68.8 kB / 0.916 GB, free: 158.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.356, allocations: 75.94 kB / 0.9161 GB, free: 158.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.357, allocations: 1.658 MB / 0.9177 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.357, allocations: 0 / 0.9177 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006652/1.364, allocations: 3.325 MB / 0.921 GB, free: 153.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.365, allocations: 0.6731 MB / 0.9216 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/1.365, allocations: 67.75 kB / 0.9217 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.368, allocations: 278.1 kB / 0.9219 GB, free: 152.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/1.368, allocations: 157.7 kB / 0.9221 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/1.368, allocations: 91.94 kB / 0.9222 GB, free: 152 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001724/1.37, allocations: 1.434 MB / 0.9236 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.37, allocations: 0 / 0.9236 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002423/1.372, allocations: 0.8817 MB / 0.9244 GB, free: 149.7 MB / 0.6856 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.001545/1.374, allocations: 0.6797 MB / 0.9251 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006782/1.381, allocations: 3.393 MB / 0.9284 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.381, allocations: 3.938 kB / 0.9284 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/1.384, allocations: 1.716 MB / 0.9301 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.386, allocations: 457 kB / 0.9305 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.396, allocations: 6.243 MB / 0.9366 GB, free: 137.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.398, allocations: 2.209 MB / 0.9388 GB, free: 135.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002955/1.401, allocations: 0.9383 MB / 0.9397 GB, free: 134.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.402, allocations: 303.2 kB / 0.94 GB, free: 134 MB / 0.6856 GB Notification: Performance of SimCode: time 1.663e-06/1.402, allocations: 3.938 kB / 0.94 GB, free: 134 MB / 0.6856 GB Notification: Performance of Templates: time 0.0654/1.467, allocations: 39.59 MB / 0.9787 GB, free: 94.59 MB / 0.6856 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)