Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005941/0.005941, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001339/0.001339, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9522/0.9522, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5856 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.497, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008286/0.5054, allocations: 6.965 MB / 0.6714 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1972/0.7026, allocations: 155.7 MB / 0.8235 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.705, allocations: 27.88 kB / 0.8235 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.7063, allocations: 293.2 kB / 0.8238 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.71, allocations: 0.7209 MB / 0.8245 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.7138, allocations: 1.296 MB / 0.8258 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006035/0.7199, allocations: 4.567 MB / 0.8302 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004152/0.724, allocations: 2.864 MB / 0.833 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.7275, allocations: 1.762 MB / 0.8347 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.7297, allocations: 1.788 MB / 0.8365 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.7303, allocations: 464 kB / 0.8369 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.7326, allocations: 1.066 MB / 0.838 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.7336, allocations: 0.9892 MB / 0.8389 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.7366, allocations: 1.87 MB / 0.8408 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00751/0.7441, allocations: 5.532 MB / 0.8462 GB, free: 7.027 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.7442, allocations: 3.938 kB / 0.8462 GB, free: 7.023 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7442, allocations: 0 / 0.8462 GB, free: 7.023 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000187/0.7444, allocations: 0 / 0.8462 GB, free: 7.023 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.00941/0.7538, allocations: 3.861 MB / 0.8499 GB, free: 3.094 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7539, allocations: 8.031 kB / 0.85 GB, free: 3.086 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/0.7632, allocations: 1.283 MB / 0.8512 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.7682, allocations: 2.128 MB / 0.8533 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.7684, allocations: 230 kB / 0.8535 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.7695, allocations: 292 kB / 0.8538 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.7814, allocations: 4.448 MB / 0.8581 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/0.7815, allocations: 11.88 kB / 0.8581 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005776/0.7821, allocations: 124 kB / 0.8583 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/0.7821, allocations: 76 kB / 0.8583 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.7937, allocations: 4.878 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.4299/1.224, allocations: 14 MB / 0.8768 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.235, allocations: 4.04 MB / 0.8807 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/1.239, allocations: 1.669 MB / 0.8823 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009806/1.24, allocations: 1.074 MB / 0.8834 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004013/1.244, allocations: 2.036 MB / 0.8854 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 5.36e-06/1.244, allocations: 0 / 0.8854 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01244/1.256, allocations: 5.233 MB / 0.8905 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.256, allocations: 207.4 kB / 0.8907 GB, free: 174 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.259, allocations: 1.935 MB / 0.8926 GB, free: 173 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/1.26, allocations: 62.8 kB / 0.8926 GB, free: 172.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/1.26, allocations: 1.165 MB / 0.8938 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/1.261, allocations: 0.7144 MB / 0.8945 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008438/1.262, allocations: 0.5197 MB / 0.895 GB, free: 171 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.106e-05/1.262, allocations: 306.3 kB / 0.8953 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/1.265, allocations: 1.573 MB / 0.8968 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/1.269, allocations: 1.878 MB / 0.8986 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007538/1.277, allocations: 3.416 MB / 0.902 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/1.277, allocations: 1.469 kB / 0.902 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01001/1.287, allocations: 3.955 MB / 0.9058 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.287, allocations: 7.906 kB / 0.9058 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.287, allocations: 7.906 kB / 0.9059 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/1.288, allocations: 95.73 kB / 0.9059 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/1.291, allocations: 0.6987 MB / 0.9066 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.293, allocations: 1.701 MB / 0.9083 GB, free: 162.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.297, allocations: 426.2 kB / 0.9087 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006121/1.297, allocations: 130.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.002601/1.3, allocations: 0.9342 MB / 0.9097 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.301, allocations: 219.2 kB / 0.9099 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.312, allocations: 4.19 MB / 0.914 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.312, allocations: 30.45 kB / 0.9141 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.312, allocations: 0 / 0.9141 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/1.312, allocations: 7.969 kB / 0.9141 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.328, allocations: 7.847 MB / 0.9217 GB, free: 151.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.328, allocations: 0 / 0.9217 GB, free: 151.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/1.331, allocations: 0.5811 MB / 0.9223 GB, free: 151.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.331, allocations: 80.78 kB / 0.9224 GB, free: 151.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.332, allocations: 63.89 kB / 0.9224 GB, free: 151.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/1.333, allocations: 1.717 MB / 0.9241 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.333, allocations: 4.031 kB / 0.9241 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007843/1.341, allocations: 3.46 MB / 0.9275 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.343, allocations: 0.7436 MB / 0.9282 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000749/1.344, allocations: 67.69 kB / 0.9283 GB, free: 145 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.346, allocations: 267.6 kB / 0.9285 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/1.347, allocations: 149.8 kB / 0.9287 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.347, allocations: 83.94 kB / 0.9288 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00254/1.349, allocations: 1.482 MB / 0.9302 GB, free: 143 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.31e-07/1.349, allocations: 0 / 0.9302 GB, free: 143 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003115/1.353, 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.001863/1.354, allocations: 0.6853 MB / 0.9317 GB, free: 141.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008653/1.363, allocations: 3.588 MB / 0.9352 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.363, allocations: 0 / 0.9352 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004537/1.368, allocations: 1.802 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.003522/1.371, allocations: 431.4 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.01298/1.384, allocations: 6.252 MB / 0.9435 GB, free: 129.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/1.386, allocations: 2.246 MB / 0.9457 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00395/1.39, 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.001741/1.392, allocations: 291.2 kB / 0.9469 GB, free: 126.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.332e-06/1.392, allocations: 0 / 0.9469 GB, free: 126.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.05813/1.45, allocations: 40.99 MB / 0.9869 GB, free: 85.38 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)