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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8309/0.8309, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 480.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.252e-05, allocations: 5.547 kB / 480.3 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009194/0.009216, allocations: 7.3 MB / 487.6 MB, free: 15.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.149/0.1582, allocations: 149.5 MB / 0.6223 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.1602, allocations: 43.69 kB / 0.6223 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1613, allocations: 324.8 kB / 0.6226 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.1638, allocations: 0.8498 MB / 0.6234 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.1664, allocations: 1.336 MB / 0.6247 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004795/0.1712, allocations: 4.93 MB / 0.6296 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.1736, allocations: 1.668 MB / 0.6312 GB, free: 296 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.1783, allocations: 2.858 MB / 0.634 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.1805, allocations: 1.617 MB / 0.6356 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006105/0.1811, allocations: 464 kB / 0.636 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.183, allocations: 1.1 MB / 0.6371 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.1837, allocations: 1.016 MB / 0.6381 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.1854, allocations: 1.278 MB / 0.6393 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.19, allocations: 3.804 MB / 0.643 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.19, allocations: 0 / 0.643 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.002e-06/0.19, allocations: 0 / 0.643 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-05/0.1901, allocations: 8 kB / 0.643 GB, free: 4.156 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 780 * Number of variables: 780 Notification: Performance of Generate backend data structure: time 0.004322/0.1944, allocations: 3.7 MB / 0.6466 GB, free: 412 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.1944, allocations: 8.031 kB / 0.6467 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/0.2027, allocations: 2.436 MB / 0.649 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.2055, allocations: 1.471 MB / 0.6505 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.2057, allocations: 230.1 kB / 0.6507 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.206, allocations: 300 kB / 0.651 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.2102, allocations: 3.086 MB / 0.654 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.2103, allocations: 3.938 kB / 0.654 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.2105, allocations: 128 kB / 0.6541 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.2105, allocations: 72 kB / 0.6542 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.2127, allocations: 1.675 MB / 0.6558 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.2239, allocations: 6.717 MB / 0.6624 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.227, allocations: 1.683 MB / 0.664 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/0.2278, allocations: 0.565 MB / 0.6646 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.2281, allocations: 121.9 kB / 0.6647 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.2293, allocations: 1.125 MB / 0.6658 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=223): time 6.232e-06/0.2293, allocations: 0 / 0.6658 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=223): time 0.003531/0.2328, allocations: 1.804 MB / 0.6676 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.2329, allocations: 176.2 kB / 0.6677 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2342, allocations: 1.318 MB / 0.669 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.2344, allocations: 73.7 kB / 0.6691 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.2351, allocations: 1.021 MB / 0.6701 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000738/0.2358, allocations: 0.7744 MB / 0.6708 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006749/0.2365, allocations: 495.7 kB / 0.6713 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.2366, allocations: 305.1 kB / 0.6716 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.2374, allocations: 0.4995 MB / 0.6721 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.2382, allocations: 0.8549 MB / 0.6729 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.2405, allocations: 1.313 MB / 0.6742 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.2405, allocations: 4 kB / 0.6742 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.00317/0.2436, allocations: 1.532 MB / 0.6757 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.2437, allocations: 11.94 kB / 0.6757 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.2437, allocations: 4 kB / 0.6757 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.2442, allocations: 132.7 kB / 0.6758 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.2469, allocations: 0.7292 MB / 0.6766 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2892/0.5361, allocations: 1.315 MB / 0.6778 GB, free: 69.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.5392, allocations: 357.2 kB / 0.6782 GB, free: 69.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004118/0.5396, allocations: 105.3 kB / 0.6783 GB, free: 69.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 23 (sim.radSol[6].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[1].solAzi.outsidePolarCircle,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.decAng.tNext,$PRE.sim.weaDat.decAng.tNext,sim.weaDat.eqnTim.tNext,$PRE.sim.weaDat.eqnTim.tNext,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,sim.weaDat.locTim.tNext,$PRE.sim.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 285 * 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.001248/0.5408, allocations: 249.5 kB / 0.6785 GB, free: 69.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/0.5415, allocations: 206.6 kB / 0.6787 GB, free: 69.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/0.5468, allocations: 2.174 MB / 0.6808 GB, free: 69.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.5468, allocations: 26.09 kB / 0.6809 GB, free: 69.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5468, allocations: 0.6562 kB / 0.6809 GB, free: 69.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.5468, allocations: 14.53 kB / 0.6809 GB, free: 69.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/0.5536, allocations: 3.696 MB / 0.6845 GB, free: 68.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.5536, allocations: 3.5 kB / 0.6845 GB, free: 68.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.5559, allocations: 0.5802 MB / 0.6851 GB, free: 68.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.5563, allocations: 121.6 kB / 0.6852 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.5565, allocations: 61.66 kB / 0.6852 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000869/0.5574, allocations: 1.323 MB / 0.6865 GB, free: 67.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5574, allocations: 0 / 0.6865 GB, free: 67.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.5602, allocations: 1.483 MB / 0.688 GB, free: 67.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.5614, allocations: 413.1 kB / 0.6884 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.5618, allocations: 64.59 kB / 0.6884 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.5634, allocations: 218.5 kB / 0.6886 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.5637, allocations: 160.3 kB / 0.6888 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/0.5639, allocations: 68.08 kB / 0.6889 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001057/0.565, allocations: 0.7369 MB / 0.6896 GB, free: 66.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.565, allocations: 0 / 0.6896 GB, free: 66.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002455/0.5674, allocations: 0.942 MB / 0.6905 GB, free: 66.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.locTim.tNext,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext) * Number of discrete states: 5 (sim.weaDat.locTim.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002468/0.5699, allocations: 0.8426 MB / 0.6913 GB, free: 66.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.5736, allocations: 1.62 MB / 0.6929 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-05/0.5736, allocations: 21.94 kB / 0.6929 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.5751, allocations: 0.9391 MB / 0.6938 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.5765, allocations: 0.5116 MB / 0.6943 GB, free: 66.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.5825, allocations: 5.112 MB / 0.6993 GB, free: 64.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5829, allocations: 0.6356 MB / 0.6999 GB, free: 64.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001826/0.5848, allocations: 0.5646 MB / 0.7005 GB, free: 64.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.5863, allocations: 0.5617 MB / 0.701 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.943e-06/0.5863, allocations: 3.781 kB / 0.701 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.04902/0.6354, allocations: 45.69 MB / 0.7457 GB, free: 45.36 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.374716033227742]