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.001234/0.001234, allocations: 80.75 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.001625/0.001625, allocations: 181 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.9978/0.9978, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.7826/0.7826, allocations: 154.9 MB / 415.1 MB, free: 268 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.202e-06/1.202e-06, allocations: 0 / 480.3 MB, free: 6.594 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.939e-05, allocations: 2.312 kB / 480.3 MB, free: 6.59 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005699/0.005719, allocations: 4.929 MB / 485.3 MB, free: 1.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1462/0.1519, allocations: 146.1 MB / 0.6165 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.1527, allocations: 23.81 kB / 0.6166 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.1533, allocations: 206.1 kB / 0.6168 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.1548, allocations: 0.6056 MB / 0.6173 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.1564, allocations: 0.8802 MB / 0.6182 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1578, allocations: 1.494 MB / 0.6197 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.1584, allocations: 464.4 kB / 0.6201 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009767/0.1594, allocations: 0.8186 MB / 0.6209 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.1598, allocations: 398.8 kB / 0.6213 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.16, allocations: 116 kB / 0.6214 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.1608, allocations: 0.4915 MB / 0.6219 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.1613, allocations: 310.9 kB / 0.6222 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.1616, allocations: 410.9 kB / 0.6226 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1629, allocations: 1.292 MB / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1629, allocations: 0 / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1629, allocations: 0 / 0.6238 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.163, allocations: 0 / 0.6238 GB, free: 7.938 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.001628/0.1646, allocations: 1.409 MB / 0.6252 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1646, allocations: 12.03 kB / 0.6252 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/0.1656, allocations: 352 kB / 0.6255 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.1663, allocations: 0.59 MB / 0.6261 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.1664, allocations: 78.12 kB / 0.6262 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.1664, allocations: 95.98 kB / 0.6263 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.1672, allocations: 0.9179 MB / 0.6272 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1672, allocations: 0 / 0.6272 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.1673, allocations: 40 kB / 0.6272 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1673, allocations: 24 kB / 0.6272 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1679, allocations: 0.5947 MB / 0.6278 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1701, allocations: 1.612 MB / 0.6294 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.1708, allocations: 434.4 kB / 0.6298 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.171, allocations: 126.8 kB / 0.6299 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.171, allocations: 32.62 kB / 0.63 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.1713, allocations: 445.8 kB / 0.6304 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=82): time 2.776e-06/0.1713, allocations: 0 / 0.6304 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.0009784/0.1723, allocations: 0.5492 MB / 0.6309 GB, free: 428 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1724, allocations: 192.6 kB / 0.6311 GB, free: 192 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1727, allocations: 0.4938 MB / 0.6316 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1728, allocations: 45.69 kB / 0.6316 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.173, allocations: 370.2 kB / 0.632 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1731, allocations: 273.6 kB / 0.6323 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1732, allocations: 158.5 kB / 0.6324 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1733, allocations: 394.5 kB / 0.6328 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1735, allocations: 92.77 kB / 0.6329 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1737, allocations: 307.7 kB / 0.6332 GB, free: 14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.174, allocations: 312 kB / 0.6335 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.174, allocations: 0 / 0.6335 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005896/0.1746, allocations: 439 kB / 0.6339 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1746, allocations: 6.031 kB / 0.6339 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1746, allocations: 0 / 0.6339 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.1749, allocations: 124.7 kB / 0.634 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1753, allocations: 159.8 kB / 0.6342 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1763, allocations: 1.305 MB / 0.6354 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1766, allocations: 75.53 kB / 0.6355 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1766, allocations: 32 kB / 0.6355 GB, free: 11.46 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.0002/0.1768, allocations: 158.5 kB / 0.6357 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.1769, allocations: 75.92 kB / 0.6358 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.178, allocations: 0.6142 MB / 0.6364 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.178, allocations: 12 kB / 0.6364 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.178, allocations: 4 kB / 0.6364 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.178, allocations: 3.984 kB / 0.6364 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.1792, allocations: 0.9807 MB / 0.6373 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1792, allocations: 0 / 0.6373 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1795, allocations: 139.8 kB / 0.6375 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.1798, allocations: 116.7 kB / 0.6376 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.1798, allocations: 19.98 kB / 0.6376 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008439/0.1806, allocations: 1.328 MB / 0.6389 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1806, allocations: 0 / 0.6389 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.1812, allocations: 0.5595 MB / 0.6394 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.1814, allocations: 143.2 kB / 0.6396 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.1815, allocations: 20 kB / 0.6396 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1817, allocations: 39.97 kB / 0.6396 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.1818, allocations: 60.88 kB / 0.6397 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.1818, allocations: 27.97 kB / 0.6397 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001956/0.182, allocations: 247.5 kB / 0.64 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.182, allocations: 0 / 0.64 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006796/0.1827, allocations: 362.9 kB / 0.6403 GB, free: 6.414 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.001675/0.1844, allocations: 0.7443 MB / 0.641 GB, free: 6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006242/0.185, allocations: 0.5019 MB / 0.6415 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.185, allocations: 12.06 kB / 0.6415 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1853, allocations: 359 kB / 0.6419 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.186, allocations: 305.3 kB / 0.6422 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.1885, allocations: 1.56 MB / 0.6437 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1887, allocations: 198.5 kB / 0.6439 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.1891, allocations: 193.9 kB / 0.6441 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.1896, allocations: 307 kB / 0.6444 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of SimCode: time 1.253e-06/0.1896, allocations: 4 kB / 0.6444 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.02099/0.2106, allocations: 16.66 MB / 0.6606 GB, free: 2.23 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.335756850428879]