Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.0009501/0.0009501, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001001/0.001001, allocations: 173 kB / 23.36 MB, free: 0.9727 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.122/1.122, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.8032/0.8032, allocations: 154.9 MB / 415.1 MB, free: 240 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.294e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004777/0.00479, allocations: 4.97 MB / 485.4 MB, free: 1.559 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1285/0.1333, allocations: 146.1 MB / 0.6166 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.134, allocations: 27.81 kB / 0.6166 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.1346, allocations: 198 kB / 0.6168 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.1361, allocations: 0.5861 MB / 0.6174 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1375, allocations: 0.8489 MB / 0.6182 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1385, allocations: 1.498 MB / 0.6197 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.1391, allocations: 468.4 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.1398, allocations: 0.8147 MB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.1401, allocations: 410.7 kB / 0.6213 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1402, allocations: 120 kB / 0.6215 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.1409, allocations: 0.5149 MB / 0.622 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.141, allocations: 307 kB / 0.6222 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1413, allocations: 402.9 kB / 0.6226 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1424, allocations: 1.296 MB / 0.6239 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1424, allocations: 0 / 0.6239 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1424, allocations: 0 / 0.6239 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.1424, allocations: 4 kB / 0.6239 GB, free: 7.805 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001617/0.144, allocations: 1.421 MB / 0.6253 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.144, allocations: 8.031 kB / 0.6253 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.145, allocations: 348.1 kB / 0.6256 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.1457, allocations: 0.5901 MB / 0.6262 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1457, allocations: 74.12 kB / 0.6263 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.1458, allocations: 92 kB / 0.6264 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.1465, allocations: 0.9179 MB / 0.6273 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1465, allocations: 0 / 0.6273 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.1466, allocations: 43.98 kB / 0.6273 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.1466, allocations: 28 kB / 0.6273 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.1472, allocations: 0.5908 MB / 0.6279 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.149, allocations: 1.616 MB / 0.6295 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.1497, allocations: 438.3 kB / 0.6299 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1498, allocations: 133.8 kB / 0.63 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.1499, allocations: 28.64 kB / 0.6301 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.1502, allocations: 445.8 kB / 0.6305 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=82): time 1.883e-06/0.1502, allocations: 0 / 0.6305 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.0009726/0.1512, allocations: 0.5414 MB / 0.631 GB, free: 292 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1512, allocations: 192.5 kB / 0.6312 GB, free: 56 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.1518, allocations: 0.5057 MB / 0.6317 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.1519, allocations: 41.7 kB / 0.6317 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.152, allocations: 362.2 kB / 0.6321 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1522, allocations: 281.6 kB / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1523, allocations: 150.5 kB / 0.6325 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1524, allocations: 398.5 kB / 0.6329 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1525, allocations: 92.77 kB / 0.633 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1527, allocations: 303.5 kB / 0.6332 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.153, allocations: 316 kB / 0.6335 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.153, allocations: 0 / 0.6335 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006001/0.1536, allocations: 435.1 kB / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1537, allocations: 9.875 kB / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1537, allocations: 0 / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.1541, allocations: 128.7 kB / 0.6341 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.1544, allocations: 167.8 kB / 0.6343 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009908/0.1554, allocations: 1.315 MB / 0.6355 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1557, allocations: 71.59 kB / 0.6356 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.1557, allocations: 23.98 kB / 0.6356 GB, free: 11.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.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 (96): * Single equations (assignments): 95 * 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.0001697/0.1559, allocations: 162.5 kB / 0.6358 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.1559, allocations: 83.95 kB / 0.6359 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008031/0.1568, allocations: 0.6143 MB / 0.6365 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1568, allocations: 12 kB / 0.6365 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1568, allocations: 4 kB / 0.6365 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1568, allocations: 3.984 kB / 0.6365 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1579, allocations: 0.9806 MB / 0.6374 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1579, allocations: 4 kB / 0.6374 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.1582, allocations: 151.8 kB / 0.6376 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.1585, allocations: 108.8 kB / 0.6377 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.1585, allocations: 15.98 kB / 0.6377 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1596, allocations: 1.324 MB / 0.639 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1596, allocations: 4 kB / 0.639 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.1602, allocations: 0.5634 MB / 0.6396 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1603, allocations: 143.1 kB / 0.6397 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.1604, allocations: 19.94 kB / 0.6397 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.1606, allocations: 52.03 kB / 0.6398 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1607, allocations: 64.86 kB / 0.6398 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.1608, allocations: 27.97 kB / 0.6398 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001783/0.1609, allocations: 239.4 kB / 0.6401 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1609, allocations: 0 / 0.6401 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004982/0.1614, allocations: 347 kB / 0.6404 GB, free: 6.258 MB / 0.6042 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.001509/0.163, allocations: 0.7482 MB / 0.6411 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.1635, allocations: 0.498 MB / 0.6416 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1635, allocations: 4 kB / 0.6416 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.1639, allocations: 375.1 kB / 0.642 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.1644, allocations: 306.1 kB / 0.6423 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1663, allocations: 1.56 MB / 0.6438 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1664, allocations: 202.4 kB / 0.644 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003755/0.1668, allocations: 190.6 kB / 0.6442 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.1673, allocations: 311 kB / 0.6445 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/0.1673, allocations: 0 / 0.6445 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of Templates: time 0.01897/0.1862, allocations: 16.66 MB / 0.6607 GB, free: 2.062 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.495025822427124]