Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001323/0.001323, allocations: 78.95 kB / 19.76 MB, free: 1.898 MB / 14.72 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.001445/0.001445, allocations: 156.7 kB / 23.01 MB, free: 4.574 MB / 14.72 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 9.25 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7958/0.7958, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 62.94 kB / 0.5356 GB, free: 5.547 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1804, allocations: 85.88 MB / 0.6195 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006956/0.1873, allocations: 4.493 MB / 0.6239 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5405/0.7278, allocations: 132.9 MB / 0.7536 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.7288, allocations: 30.5 kB / 0.7537 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.7296, allocations: 196.5 kB / 0.7538 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.7317, allocations: 0.5865 MB / 0.7544 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.7341, allocations: 0.961 MB / 0.7554 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.7361, allocations: 1.572 MB / 0.7569 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.7373, allocations: 0.8048 MB / 0.7577 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.7388, allocations: 1.099 MB / 0.7588 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007963/0.7396, allocations: 0.6394 MB / 0.7594 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.7398, allocations: 193 kB / 0.7596 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.7409, allocations: 0.558 MB / 0.7601 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.7414, allocations: 447.2 kB / 0.7605 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.742, allocations: 0.647 MB / 0.7612 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.7447, allocations: 2.384 MB / 0.7635 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7447, allocations: 4 kB / 0.7635 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7447, allocations: 0 / 0.7635 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.7448, allocations: 2.562 kB / 0.7635 GB, free: 6.148 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002989/0.7478, allocations: 1.811 MB / 0.7653 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.7478, allocations: 8.844 kB / 0.7653 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.7507, allocations: 387 kB / 0.7656 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.7523, allocations: 0.877 MB / 0.7665 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.7524, allocations: 166 kB / 0.7667 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.7526, allocations: 142.1 kB / 0.7668 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.7552, allocations: 1.742 MB / 0.7685 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.7553, allocations: 0 / 0.7685 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.7554, allocations: 64.45 kB / 0.7686 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.7554, allocations: 37.31 kB / 0.7686 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.7578, allocations: 1.445 MB / 0.77 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.7639, allocations: 3.219 MB / 0.7732 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.7654, allocations: 0.8574 MB / 0.774 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.766, allocations: 331.3 kB / 0.7743 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.7661, allocations: 33 kB / 0.7743 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.7672, allocations: 0.6685 MB / 0.775 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.7672, allocations: 0 / 0.775 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003355/0.7705, allocations: 1.299 MB / 0.7763 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.7707, allocations: 195.7 kB / 0.7764 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.7715, allocations: 0.6585 MB / 0.7771 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.7716, allocations: 43.17 kB / 0.7771 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/0.7722, allocations: 0.6018 MB / 0.7777 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.7725, allocations: 331.7 kB / 0.778 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.7728, allocations: 194.2 kB / 0.7782 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.773, allocations: 393.3 kB / 0.7786 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.7736, allocations: 330.9 kB / 0.7789 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.7744, allocations: 0.5527 MB / 0.7794 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.7758, allocations: 0.762 MB / 0.7802 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.7758, allocations: 0 / 0.7802 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002334/0.7781, allocations: 1.023 MB / 0.7812 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7782, allocations: 5.438 kB / 0.7812 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7782, allocations: 2.5 kB / 0.7812 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.7788, allocations: 84.78 kB / 0.7813 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.7797, allocations: 200.1 kB / 0.7815 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.7819, allocations: 1.516 MB / 0.7829 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.7828, allocations: 92.02 kB / 0.783 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.7829, allocations: 46.45 kB / 0.7831 GB, free: 8.457 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0006495/0.7835, allocations: 321.6 kB / 0.7834 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.7838, allocations: 94.44 kB / 0.7835 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.7867, allocations: 1.284 MB / 0.7847 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7867, allocations: 10.56 kB / 0.7847 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7867, allocations: 4 kB / 0.7847 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.7867, allocations: 7.922 kB / 0.7848 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.7909, allocations: 2.139 MB / 0.7868 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.791, allocations: 2.812 kB / 0.7868 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008107/0.7918, allocations: 176.1 kB / 0.787 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/0.7923, allocations: 74.44 kB / 0.7871 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.7923, allocations: 34.16 kB / 0.7871 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.7944, allocations: 1.537 MB / 0.7886 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7944, allocations: 0 / 0.7886 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.7968, allocations: 1.113 MB / 0.7897 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.7974, allocations: 236 kB / 0.7899 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7975, allocations: 22.09 kB / 0.79 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.7982, allocations: 60.97 kB / 0.79 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7984, allocations: 75.66 kB / 0.7901 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.7985, allocations: 38.48 kB / 0.7901 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006817/0.7992, allocations: 0.4887 MB / 0.7906 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.7992, allocations: 4 kB / 0.7906 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001097/0.8003, allocations: 425.5 kB / 0.791 GB, free: 3.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002042/0.8023, allocations: 0.6255 MB / 0.7916 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.8042, allocations: 0.9345 MB / 0.7925 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8042, allocations: 3.938 kB / 0.7925 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.8052, allocations: 0.55 MB / 0.7931 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.8064, allocations: 293.2 kB / 0.7933 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.8113, allocations: 2.373 MB / 0.7957 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.8119, allocations: 0.581 MB / 0.7962 GB, free: 232 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008856/0.8128, allocations: 288.8 kB / 0.7965 GB, free: 88 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.8131, allocations: 129.9 kB / 0.7966 GB, free: 12 kB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.8131, allocations: 0 / 0.7966 GB, free: 12 kB / 0.6231 GB Notification: Performance of Templates: time 0.03345/0.8465, allocations: 17.16 MB / 0.8134 GB, free: 15.07 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868099727667868] Failed to read output from testmodel.py, exit status != 0: 0.8564457548782229 0.872100416 0.123881007 Calling exit ...