Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009176/0.009177, allocations: 101 kB / 15.73 MB, free: 6.051 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.001451/0.001451, allocations: 186 kB / 16.67 MB, free: 5.977 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9889/0.9889, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.84 kB / 0.5856 GB, free: 3.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4343, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007722/0.442, allocations: 6.961 MB / 0.6714 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.6343, allocations: 155.7 MB / 0.8235 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.6361, allocations: 35.81 kB / 0.8235 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.637, allocations: 293.2 kB / 0.8238 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.6397, allocations: 0.7244 MB / 0.8245 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.6426, allocations: 1.278 MB / 0.8257 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004492/0.6471, allocations: 4.575 MB / 0.8302 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.6503, allocations: 2.864 MB / 0.833 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.6531, allocations: 1.765 MB / 0.8347 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.6551, allocations: 1.778 MB / 0.8365 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000629/0.6557, allocations: 472 kB / 0.8369 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.6575, allocations: 1.066 MB / 0.838 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007529/0.6583, allocations: 0.9891 MB / 0.8389 GB, free: 14.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.6601, allocations: 1.874 MB / 0.8408 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.6654, allocations: 5.525 MB / 0.8462 GB, free: 7.043 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6654, allocations: 0 / 0.8462 GB, free: 7.043 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6654, allocations: 0 / 0.8462 GB, free: 7.043 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.56e-05/0.6655, allocations: 3.938 kB / 0.8462 GB, free: 7.039 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.007198/0.6727, allocations: 3.865 MB / 0.8499 GB, free: 3.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6728, allocations: 12.03 kB / 0.8499 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009022/0.6818, allocations: 1.279 MB / 0.8512 GB, free: 1.809 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.6858, allocations: 2.132 MB / 0.8533 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.686, allocations: 230 kB / 0.8535 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.6865, allocations: 288 kB / 0.8538 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009591/0.6961, allocations: 4.456 MB / 0.8581 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/0.6962, allocations: 3.938 kB / 0.8581 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.6965, allocations: 124 kB / 0.8582 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.6966, allocations: 76 kB / 0.8583 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.7076, allocations: 4.885 MB / 0.8631 GB, free: 5.445 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4795/1.187, allocations: 14 MB / 0.8768 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.198, allocations: 4.044 MB / 0.8807 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/1.202, allocations: 1.666 MB / 0.8823 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/1.203, allocations: 1.074 MB / 0.8834 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004154/1.207, allocations: 2.036 MB / 0.8854 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 5.52e-06/1.207, allocations: 0 / 0.8854 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01346/1.221, allocations: 5.224 MB / 0.8905 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.221, allocations: 208.4 kB / 0.8907 GB, free: 174 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/1.224, allocations: 1.934 MB / 0.8926 GB, free: 173 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.224, allocations: 62.67 kB / 0.8926 GB, free: 172.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/1.225, allocations: 1.173 MB / 0.8938 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/1.226, allocations: 0.7134 MB / 0.8945 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008572/1.227, allocations: 0.5242 MB / 0.895 GB, free: 171 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/1.227, allocations: 301.1 kB / 0.8953 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00339/1.23, allocations: 1.577 MB / 0.8968 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.234, allocations: 1.874 MB / 0.8986 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007466/1.241, allocations: 3.423 MB / 0.902 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/1.241, allocations: 1.219 kB / 0.902 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0103/1.252, allocations: 3.954 MB / 0.9058 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.252, allocations: 7.75 kB / 0.9058 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.252, allocations: 3.906 kB / 0.9058 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/1.252, allocations: 100.1 kB / 0.9059 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/1.256, allocations: 0.6936 MB / 0.9066 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/1.258, allocations: 1.701 MB / 0.9083 GB, free: 162.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/1.261, allocations: 432.3 kB / 0.9087 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/1.261, allocations: 131.5 kB / 0.9088 GB, free: 162.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * 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.002053/1.264, allocations: 0.9257 MB / 0.9097 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/1.264, allocations: 220.6 kB / 0.9099 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008563/1.273, allocations: 4.193 MB / 0.914 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.273, allocations: 22.47 kB / 0.914 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.273, allocations: 0 / 0.914 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.273, allocations: 15.73 kB / 0.9141 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.285, allocations: 7.847 MB / 0.9217 GB, free: 152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.285, allocations: 0 / 0.9217 GB, free: 152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.287, allocations: 0.585 MB / 0.9223 GB, free: 151.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/1.288, allocations: 76.8 kB / 0.9224 GB, free: 151.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.288, allocations: 71.88 kB / 0.9224 GB, free: 151.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.289, allocations: 1.709 MB / 0.9241 GB, free: 149.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.289, allocations: 0 / 0.9241 GB, free: 149.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006553/1.296, allocations: 3.468 MB / 0.9275 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.297, allocations: 0.7358 MB / 0.9282 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/1.298, allocations: 63.69 kB / 0.9283 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.3, allocations: 279.5 kB / 0.9285 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.3, allocations: 141.8 kB / 0.9287 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.3, allocations: 87.94 kB / 0.9288 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001879/1.302, allocations: 1.478 MB / 0.9302 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.302, allocations: 0 / 0.9302 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002423/1.305, allocations: 0.8683 MB / 0.9311 GB, free: 142.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.001533/1.306, allocations: 0.688 MB / 0.9317 GB, free: 141.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007581/1.314, allocations: 3.585 MB / 0.9352 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.314, allocations: 0 / 0.9352 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/1.317, allocations: 1.797 MB / 0.937 GB, free: 136.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.319, allocations: 444.2 kB / 0.9374 GB, free: 135.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/1.329, allocations: 6.246 MB / 0.9435 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.331, allocations: 2.25 MB / 0.9457 GB, free: 127.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002629/1.333, allocations: 0.918 MB / 0.9466 GB, free: 126.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009741/1.334, allocations: 287.2 kB / 0.9469 GB, free: 126.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.222e-06/1.334, allocations: 0 / 0.9469 GB, free: 126.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.05566/1.39, allocations: 40.97 MB / 0.9869 GB, free: 85.43 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)