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.001125/0.001125, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009593/0.0009593, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8485/0.8485, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-531:190: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-531:198: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.6905/0.6905, allocations: 154.6 MB / 414.5 MB, free: 0.8281 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.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.142e-06/1.142e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.496e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004084/0.004099, allocations: 4.669 MB / 0.6238 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3615/0.3656, allocations: 132.8 MB / 0.7535 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000653/0.3663, allocations: 28.09 kB / 0.7535 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.3668, allocations: 209.4 kB / 0.7537 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.3681, allocations: 0.5977 MB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3695, allocations: 0.879 MB / 0.7551 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3707, allocations: 1.505 MB / 0.7566 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.3713, allocations: 449.5 kB / 0.757 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008482/0.3721, allocations: 0.7788 MB / 0.7578 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.3726, allocations: 433.3 kB / 0.7582 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3728, allocations: 129 kB / 0.7583 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.3736, allocations: 0.4966 MB / 0.7588 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3738, allocations: 329.7 kB / 0.7591 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.3742, allocations: 425.5 kB / 0.7595 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.376, allocations: 1.873 MB / 0.7614 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3761, allocations: 0 / 0.7614 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3761, allocations: 0 / 0.7614 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.3761, allocations: 1.812 kB / 0.7614 GB, free: 11.51 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001854/0.3779, allocations: 1.472 MB / 0.7628 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.378, allocations: 11.66 kB / 0.7628 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.379, allocations: 279.6 kB / 0.7631 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.3798, allocations: 0.7292 MB / 0.7638 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.3799, allocations: 74.62 kB / 0.7639 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.3799, allocations: 96.05 kB / 0.7639 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3812, allocations: 1.26 MB / 0.7652 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3812, allocations: 4 kB / 0.7652 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.3812, allocations: 42.88 kB / 0.7652 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3812, allocations: 22.28 kB / 0.7652 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3825, allocations: 1.128 MB / 0.7663 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.3854, allocations: 2.169 MB / 0.7685 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3869, allocations: 0.8548 MB / 0.7693 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3872, allocations: 286 kB / 0.7696 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.3873, allocations: 25.73 kB / 0.7696 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/0.3879, allocations: 0.6048 MB / 0.7702 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/0.3879, allocations: 0 / 0.7702 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.002009/0.3899, allocations: 1.149 MB / 0.7713 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.39, allocations: 195 kB / 0.7715 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.3905, allocations: 0.6058 MB / 0.7721 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.3906, allocations: 42.14 kB / 0.7721 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3908, allocations: 434.2 kB / 0.7725 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3909, allocations: 279.5 kB / 0.7728 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.3911, allocations: 166.7 kB / 0.773 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.3912, allocations: 386.9 kB / 0.7733 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3915, allocations: 281 kB / 0.7736 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.392, allocations: 499.8 kB / 0.7741 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.3927, allocations: 0.6233 MB / 0.7747 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3927, allocations: 1.25 kB / 0.7747 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001238/0.3939, allocations: 0.8714 MB / 0.7755 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3939, allocations: 6.469 kB / 0.7755 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.394, allocations: 1.188 kB / 0.7755 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.3943, allocations: 86.56 kB / 0.7756 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3946, allocations: 160.7 kB / 0.7758 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3957, allocations: 1.505 MB / 0.7773 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.3962, allocations: 91.39 kB / 0.7773 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.3962, allocations: 40.64 kB / 0.7774 GB, free: 2.488 MB / 0.6355 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0003901/0.3966, allocations: 274.5 kB / 0.7776 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3967, allocations: 86.73 kB / 0.7777 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3981, allocations: 1.095 MB / 0.7788 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3982, allocations: 9.062 kB / 0.7788 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3982, allocations: 0 / 0.7788 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3982, allocations: 5.828 kB / 0.7788 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4002, allocations: 1.74 MB / 0.7805 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4002, allocations: 2.625 kB / 0.7805 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.4005, allocations: 151.9 kB / 0.7807 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.4007, allocations: 76.06 kB / 0.7807 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.4008, allocations: 26.91 kB / 0.7808 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00098/0.4017, allocations: 1.525 MB / 0.7822 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4017, allocations: 1.312 kB / 0.7822 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.4031, allocations: 1.02 MB / 0.7832 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.4034, allocations: 205 kB / 0.7834 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.4034, allocations: 18.78 kB / 0.7835 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.4038, allocations: 71.8 kB / 0.7835 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4039, allocations: 76.53 kB / 0.7836 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.404, allocations: 37.83 kB / 0.7836 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004269/0.4044, allocations: 436.6 kB / 0.784 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4044, allocations: 0 / 0.784 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008125/0.4052, allocations: 353.7 kB / 0.7844 GB, free: 14.62 MB / 0.6511 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.001028/0.4062, allocations: 0.6593 MB / 0.785 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.4074, allocations: 0.8181 MB / 0.7858 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4074, allocations: 1.312 kB / 0.7858 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.4079, allocations: 0.5001 MB / 0.7863 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.4087, allocations: 276.8 kB / 0.7866 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.4109, allocations: 1.798 MB / 0.7883 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4112, allocations: 463.3 kB / 0.7888 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.4115, allocations: 119.1 kB / 0.7889 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/0.4115, allocations: 0 / 0.7889 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.0181/0.4296, allocations: 19.79 MB / 0.8082 GB, free: 1.875 MB / 0.6511 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.329507287591696] Failed to read output from testmodel.py, exit status != 0: 0.4351925617083907 0.444718749 0.067099064 Calling exit ...