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.001189/0.001189, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001408/0.001408, allocations: 177 kB / 23.36 MB, free: 1.129 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.9832/0.9832, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7901/0.7901, allocations: 154.9 MB / 415.1 MB, free: 260 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.824e-06/1.824e-06, allocations: 0 / 480.3 MB, free: 6.637 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.713e-05, allocations: 4.281 kB / 480.3 MB, free: 6.633 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008481/0.008518, allocations: 7.26 MB / 487.6 MB, free: 15.39 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1679/0.1764, allocations: 149.5 MB / 0.6222 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.1782, allocations: 43.69 kB / 0.6222 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1792, allocations: 320.8 kB / 0.6225 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1819, allocations: 0.8732 MB / 0.6234 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.1846, allocations: 1.372 MB / 0.6247 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004639/0.1892, allocations: 4.93 MB / 0.6295 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.1916, allocations: 1.657 MB / 0.6311 GB, free: 392 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.1961, allocations: 2.855 MB / 0.6339 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.1983, allocations: 1.617 MB / 0.6355 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.1991, allocations: 464 kB / 0.6359 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.201, allocations: 1.061 MB / 0.637 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007496/0.2018, allocations: 1.012 MB / 0.638 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.2034, allocations: 1.278 MB / 0.6392 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.2084, allocations: 3.811 MB / 0.6429 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2084, allocations: 0 / 0.6429 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2084, allocations: 0 / 0.6429 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.981e-05/0.2085, allocations: 0 / 0.6429 GB, free: 4.301 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.00477/0.2133, allocations: 3.7 MB / 0.6466 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2134, allocations: 8.031 kB / 0.6466 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007584/0.2209, allocations: 2.444 MB / 0.6489 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.2238, allocations: 1.467 MB / 0.6504 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.2239, allocations: 238.1 kB / 0.6506 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.2244, allocations: 296 kB / 0.6509 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.2285, allocations: 3.09 MB / 0.6539 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.2286, allocations: 0 / 0.6539 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.2288, allocations: 127.9 kB / 0.654 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.2288, allocations: 76 kB / 0.6541 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.231, allocations: 1.667 MB / 0.6557 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.2415, allocations: 6.725 MB / 0.6623 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.2447, allocations: 1.679 MB / 0.6639 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.2454, allocations: 0.5611 MB / 0.6645 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.2457, allocations: 125.9 kB / 0.6646 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.2469, allocations: 1.131 MB / 0.6657 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=223): time 4.589e-06/0.2469, allocations: 0 / 0.6657 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=223): time 0.003159/0.25, allocations: 1.8 MB / 0.6675 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.2501, allocations: 184.2 kB / 0.6676 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.2514, allocations: 1.318 MB / 0.6689 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.2516, allocations: 69.69 kB / 0.669 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.2522, allocations: 1.025 MB / 0.67 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.2528, allocations: 0.7705 MB / 0.6708 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006093/0.2534, allocations: 495.7 kB / 0.6712 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.2534, allocations: 305.1 kB / 0.6715 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.2542, allocations: 0.5034 MB / 0.672 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.255, allocations: 0.8511 MB / 0.6728 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.2566, allocations: 1.309 MB / 0.6741 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.2566, allocations: 0 / 0.6741 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.002362/0.259, allocations: 1.532 MB / 0.6756 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.259, allocations: 13.5 kB / 0.6756 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.259, allocations: 8 kB / 0.6756 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.2594, allocations: 136.8 kB / 0.6758 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.2611, allocations: 0.6513 MB / 0.6764 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2936/0.5547, allocations: 1.318 MB / 0.6777 GB, free: 69.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5574, allocations: 358.2 kB / 0.678 GB, free: 69.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/0.558, allocations: 105.3 kB / 0.6781 GB, free: 69.72 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.001569/0.5595, allocations: 254.2 kB / 0.6784 GB, free: 69.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/0.5603, allocations: 198.4 kB / 0.6786 GB, free: 69.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/0.5653, allocations: 2.179 MB / 0.6807 GB, free: 69.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.5653, allocations: 27.69 kB / 0.6807 GB, free: 69.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5653, allocations: 0 / 0.6807 GB, free: 69.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.5654, allocations: 11.98 kB / 0.6807 GB, free: 69.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/0.5717, allocations: 3.696 MB / 0.6843 GB, free: 68.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.5717, allocations: 0 / 0.6843 GB, free: 68.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.5736, allocations: 0.5361 MB / 0.6849 GB, free: 68.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004093/0.574, allocations: 124.8 kB / 0.685 GB, free: 68.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.5742, allocations: 58.89 kB / 0.685 GB, free: 68.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.5751, allocations: 1.331 MB / 0.6863 GB, free: 67.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5751, allocations: 0.75 kB / 0.6863 GB, free: 67.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.5777, allocations: 1.483 MB / 0.6878 GB, free: 67.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009635/0.5787, allocations: 412.4 kB / 0.6882 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/0.5791, allocations: 65.47 kB / 0.6882 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.5804, allocations: 215.5 kB / 0.6884 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.5807, allocations: 158.4 kB / 0.6886 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.5808, allocations: 62.12 kB / 0.6887 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009139/0.5818, allocations: 0.7386 MB / 0.6894 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5818, allocations: 4.469 kB / 0.6894 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001914/0.5837, allocations: 0.9449 MB / 0.6903 GB, free: 67.24 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.00172/0.5854, allocations: 0.8378 MB / 0.6911 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.5879, allocations: 1.617 MB / 0.6927 GB, free: 66.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-05/0.5879, allocations: 20.34 kB / 0.6927 GB, free: 66.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5889, allocations: 0.9452 MB / 0.6936 GB, free: 66.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.5903, allocations: 0.5193 MB / 0.6941 GB, free: 66.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.5976, allocations: 5.109 MB / 0.6991 GB, free: 64.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.5982, allocations: 0.6354 MB / 0.6998 GB, free: 64.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002235/0.6004, allocations: 0.5657 MB / 0.7003 GB, free: 64.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/0.602, allocations: 0.5616 MB / 0.7009 GB, free: 64.53 MB / 0.6355 GB Notification: Performance of SimCode: time 2.144e-06/0.602, allocations: 0 / 0.7009 GB, free: 64.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.05256/0.6546, allocations: 45.7 MB / 0.7455 GB, free: 45.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.322736963164061]