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.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.0008101/0.0008101, allocations: 93.06 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.0008988/0.0008988, 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 1.081/1.081, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8209/0.8209, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5205 GB, free: 2.023 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.597e-05, allocations: 6.797 kB / 0.5205 GB, free: 2.02 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007599/0.007625, allocations: 7.453 MB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1382/0.1458, allocations: 150 MB / 0.6743 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.1467, allocations: 39.69 kB / 0.6744 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.1473, allocations: 328.8 kB / 0.6747 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.1489, allocations: 0.8461 MB / 0.6755 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.1507, allocations: 1.372 MB / 0.6768 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3265/0.4773, allocations: 4.928 MB / 0.6817 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.4797, allocations: 1.61 MB / 0.6832 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.4837, allocations: 2.802 MB / 0.686 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.4856, allocations: 1.654 MB / 0.6876 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00072/0.4864, allocations: 482.3 kB / 0.688 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.4879, allocations: 1.087 MB / 0.6891 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.4884, allocations: 1.031 MB / 0.6901 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.4893, allocations: 1.313 MB / 0.6914 GB, free: 48.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.4921, allocations: 3.843 MB / 0.6951 GB, free: 47.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4921, allocations: 0 / 0.6951 GB, free: 47.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4921, allocations: 4.594 kB / 0.6951 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.37e-05/0.4922, allocations: 0 / 0.6951 GB, free: 47.8 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.003794/0.496, allocations: 4.181 MB / 0.6992 GB, free: 46.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.496, allocations: 13 kB / 0.6992 GB, free: 46.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00873/0.5047, allocations: 2.932 MB / 0.7021 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.507, allocations: 2.138 MB / 0.7042 GB, free: 45.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5071, allocations: 234.8 kB / 0.7044 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.5074, allocations: 303.2 kB / 0.7047 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.5119, allocations: 3.538 MB / 0.7082 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.5119, allocations: 4.125 kB / 0.7082 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.5122, allocations: 125.6 kB / 0.7083 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.5122, allocations: 72.34 kB / 0.7084 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/0.5164, allocations: 2.448 MB / 0.7107 GB, free: 44.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.5291, allocations: 11.4 MB / 0.7219 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/0.5335, allocations: 2.169 MB / 0.724 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.5348, allocations: 0.8019 MB / 0.7248 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.5351, allocations: 121 kB / 0.7249 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.537, allocations: 1.475 MB / 0.7263 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=223): time 3.808e-06/0.537, allocations: 0 / 0.7263 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=223): time 0.004947/0.542, allocations: 2.837 MB / 0.7291 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.542, allocations: 205.9 kB / 0.7293 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.5433, allocations: 1.505 MB / 0.7308 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5434, allocations: 68.7 kB / 0.7308 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.544, allocations: 1.324 MB / 0.7321 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/0.5444, allocations: 0.7887 MB / 0.7329 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006611/0.5451, allocations: 0.5554 MB / 0.7334 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.5451, allocations: 480.2 kB / 0.7339 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.5463, allocations: 0.7105 MB / 0.7346 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.5476, allocations: 1.26 MB / 0.7358 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.5498, allocations: 1.662 MB / 0.7374 GB, free: 35.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5499, allocations: 3.688 kB / 0.7374 GB, free: 35.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.003531/0.5534, allocations: 2.32 MB / 0.7397 GB, free: 35.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5534, allocations: 12.06 kB / 0.7397 GB, free: 35.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5534, allocations: 8.219 kB / 0.7397 GB, free: 35.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.5539, allocations: 141.1 kB / 0.7399 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.5558, allocations: 0.7599 MB / 0.7406 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.5569, allocations: 1.934 MB / 0.7425 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.5584, allocations: 440.2 kB / 0.7429 GB, free: 33.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.5586, allocations: 134.4 kB / 0.743 GB, free: 33.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (285): * Single equations (assignments): 284 * 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.0006448/0.5593, allocations: 300.4 kB / 0.7433 GB, free: 33.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.5597, allocations: 292 kB / 0.7436 GB, free: 33.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.5638, allocations: 2.919 MB / 0.7465 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5638, allocations: 23.78 kB / 0.7465 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5638, allocations: 7.375 kB / 0.7465 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.5639, allocations: 14.48 kB / 0.7465 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.5708, allocations: 6.657 MB / 0.753 GB, free: 29.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5708, allocations: 0 / 0.753 GB, free: 29.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.5724, allocations: 0.6307 MB / 0.7536 GB, free: 29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.5728, allocations: 123.4 kB / 0.7537 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.5729, allocations: 71.22 kB / 0.7538 GB, free: 28.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009106/0.5738, allocations: 1.944 MB / 0.7557 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5738, allocations: 0 / 0.7557 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.5769, allocations: 2.359 MB / 0.758 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/0.5777, allocations: 0.6967 MB / 0.7587 GB, free: 25.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.578, allocations: 58.7 kB / 0.7587 GB, free: 25.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.5792, allocations: 301 kB / 0.759 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.5794, allocations: 166.2 kB / 0.7592 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.5795, allocations: 93.2 kB / 0.7593 GB, free: 25.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000843/0.5803, allocations: 0.9395 MB / 0.7602 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5803, allocations: 0 / 0.7602 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001706/0.5821, allocations: 0.9548 MB / 0.7611 GB, free: 25.16 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.001311/0.5834, allocations: 0.7032 MB / 0.7618 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.5862, allocations: 2.208 MB / 0.764 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5862, allocations: 6.906 kB / 0.764 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.5876, allocations: 1.282 MB / 0.7652 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5887, allocations: 0.5345 MB / 0.7658 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.595, allocations: 5.378 MB / 0.771 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.5954, allocations: 0.7474 MB / 0.7717 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00167/0.5971, allocations: 0.809 MB / 0.7725 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008721/0.598, allocations: 303.2 kB / 0.7728 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.598, allocations: 0 / 0.7728 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.04361/0.6416, allocations: 43.49 MB / 0.8153 GB, free: 4.039 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.682761021889746]