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.00115/0.00115, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000973/0.000973, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9831/0.9831, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7799/0.7799, allocations: 154.9 MB / 414.8 MB, free: 392 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 2.024e-06/2.024e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.786e-05, allocations: 5.141 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007881/0.007909, allocations: 7.423 MB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1465/0.1544, allocations: 150 MB / 0.6744 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.156, allocations: 39.69 kB / 0.6744 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008655/0.1569, allocations: 324.8 kB / 0.6748 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.1597, allocations: 0.8654 MB / 0.6756 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.1624, allocations: 1.372 MB / 0.6769 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3295/0.4919, allocations: 4.922 MB / 0.6818 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.4943, allocations: 1.603 MB / 0.6833 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.4992, allocations: 2.856 MB / 0.6861 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.502, allocations: 1.618 MB / 0.6877 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.5034, allocations: 464.1 kB / 0.6881 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.5059, allocations: 1.065 MB / 0.6892 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.5066, allocations: 1.008 MB / 0.6902 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.5085, allocations: 1.285 MB / 0.6914 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.5135, allocations: 3.798 MB / 0.6951 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5136, allocations: 2.625 kB / 0.6951 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5136, allocations: 0.9062 kB / 0.6951 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001835/0.5137, allocations: 0 / 0.6951 GB, free: 47.63 MB / 0.6355 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.008633/0.5224, allocations: 4.181 MB / 0.6992 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5224, allocations: 8.875 kB / 0.6992 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009405/0.5318, allocations: 2.938 MB / 0.7021 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.536, allocations: 2.182 MB / 0.7042 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.5361, allocations: 243.1 kB / 0.7044 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.5366, allocations: 296.8 kB / 0.7047 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.5423, allocations: 3.459 MB / 0.7081 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.5424, allocations: 5.594 kB / 0.7081 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.5426, allocations: 126 kB / 0.7082 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.796e-05/0.5427, allocations: 75.12 kB / 0.7083 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.5473, allocations: 2.435 MB / 0.7107 GB, free: 44.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.5634, allocations: 11.35 MB / 0.7218 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004707/0.5681, allocations: 2.159 MB / 0.7239 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.5695, allocations: 0.8154 MB / 0.7247 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.5698, allocations: 119.2 kB / 0.7248 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.5718, allocations: 1.307 MB / 0.7261 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=223): time 4.499e-06/0.5718, allocations: 1.031 kB / 0.7261 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=223): time 0.005508/0.5773, allocations: 2.821 MB / 0.7288 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5773, allocations: 178.6 kB / 0.729 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.5791, allocations: 1.494 MB / 0.7304 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.5793, allocations: 63.92 kB / 0.7305 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008873/0.5802, allocations: 1.328 MB / 0.7318 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.5807, allocations: 0.7903 MB / 0.7326 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007367/0.5815, allocations: 0.556 MB / 0.7331 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.5815, allocations: 483.6 kB / 0.7336 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.5827, allocations: 0.71 MB / 0.7343 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.584, allocations: 1.206 MB / 0.7354 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.5865, allocations: 1.652 MB / 0.7371 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.5865, allocations: 3.938 kB / 0.7371 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004143/0.5906, allocations: 2.327 MB / 0.7393 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.5906, allocations: 13.91 kB / 0.7393 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5907, allocations: 5.266 kB / 0.7394 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.5912, allocations: 139.5 kB / 0.7395 GB, free: 35.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5933, allocations: 0.767 MB / 0.7402 GB, free: 35.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.5947, allocations: 1.911 MB / 0.7421 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.5968, allocations: 443.8 kB / 0.7425 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/0.5971, allocations: 138.4 kB / 0.7427 GB, free: 33.65 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.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.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.001242/0.5983, allocations: 295.8 kB / 0.7429 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/0.599, allocations: 293 kB / 0.7432 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.6037, allocations: 2.913 MB / 0.7461 GB, free: 32.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6037, allocations: 27.41 kB / 0.7461 GB, free: 32.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6037, allocations: 4 kB / 0.7461 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.6038, allocations: 14.72 kB / 0.7461 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008312/0.6121, allocations: 6.607 MB / 0.7526 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6121, allocations: 0 / 0.7526 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.6138, allocations: 0.6323 MB / 0.7532 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.6142, allocations: 121.2 kB / 0.7533 GB, free: 29.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.6143, allocations: 70.12 kB / 0.7534 GB, free: 29.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.6154, allocations: 1.936 MB / 0.7552 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6154, allocations: 0 / 0.7552 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.619, allocations: 2.351 MB / 0.7575 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/0.62, allocations: 0.6848 MB / 0.7582 GB, free: 26.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.6203, allocations: 74.28 kB / 0.7583 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6216, allocations: 292.2 kB / 0.7586 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.6218, allocations: 160.3 kB / 0.7587 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.622, allocations: 90.66 kB / 0.7588 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00107/0.623, allocations: 0.9258 MB / 0.7597 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.623, allocations: 0 / 0.7597 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002149/0.6252, allocations: 0.9414 MB / 0.7606 GB, free: 25.35 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.001637/0.6268, allocations: 0.7074 MB / 0.7613 GB, free: 25.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.6303, allocations: 2.202 MB / 0.7635 GB, free: 24.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6303, allocations: 3.031 kB / 0.7635 GB, free: 24.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.6317, allocations: 1.273 MB / 0.7647 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.6332, allocations: 0.5387 MB / 0.7652 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008484/0.6417, allocations: 5.379 MB / 0.7705 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.6422, allocations: 0.747 MB / 0.7712 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00224/0.6445, allocations: 0.8187 MB / 0.772 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.6455, allocations: 307.6 kB / 0.7723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of SimCode: time 2.716e-06/0.6455, allocations: 0 / 0.7723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.05128/0.6968, allocations: 44.7 MB / 0.816 GB, free: 3.176 MB / 0.6511 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.553423410281539]