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.001393/0.001393, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001648/0.001648, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.8292/0.8292, allocations: 101.3 MB / 361.1 MB, free: 9.527 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.002122/0.002122, allocations: 65.64 kB / 0.5356 GB, free: 5.215 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.1729/0.175, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007313/0.1823, allocations: 4.485 MB / 0.6239 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5971/0.7794, allocations: 132.9 MB / 0.7536 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.7804, allocations: 23.03 kB / 0.7537 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.7811, allocations: 200.6 kB / 0.7539 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.7828, allocations: 0.5881 MB / 0.7544 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.7852, allocations: 0.9592 MB / 0.7554 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.7869, allocations: 1.576 MB / 0.7569 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.7881, allocations: 0.8004 MB / 0.7577 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009754/0.7891, allocations: 0.7225 MB / 0.7584 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.7899, allocations: 0.6473 MB / 0.759 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.7901, allocations: 191.8 kB / 0.7592 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7912, allocations: 0.5596 MB / 0.7597 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.7917, allocations: 445.9 kB / 0.7602 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.7924, allocations: 0.6494 MB / 0.7608 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.795, allocations: 2.374 MB / 0.7631 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.795, allocations: 4 kB / 0.7631 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.795, allocations: 2.781 kB / 0.7631 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.795, allocations: 0 / 0.7631 GB, free: 6.25 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.003198/0.7982, allocations: 1.813 MB / 0.7649 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7983, allocations: 8.75 kB / 0.7649 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/0.8013, allocations: 390.9 kB / 0.7653 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.8029, allocations: 0.8728 MB / 0.7661 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.8031, allocations: 165.6 kB / 0.7663 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.8032, allocations: 145.5 kB / 0.7664 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.8058, allocations: 1.743 MB / 0.7681 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.8059, allocations: 0 / 0.7681 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.806, allocations: 62.12 kB / 0.7682 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.806, allocations: 36.47 kB / 0.7682 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.8083, allocations: 1.448 MB / 0.7696 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005674/0.814, allocations: 3.23 MB / 0.7728 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.8155, allocations: 0.842 MB / 0.7736 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.8161, allocations: 331.4 kB / 0.7739 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.8161, allocations: 36.03 kB / 0.774 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.8172, allocations: 0.6682 MB / 0.7746 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 2.575e-06/0.8172, allocations: 0 / 0.7746 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003334/0.8205, allocations: 1.295 MB / 0.7759 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.8207, allocations: 199.8 kB / 0.7761 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/0.8217, allocations: 0.6609 MB / 0.7767 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-05/0.8218, allocations: 40.33 kB / 0.7768 GB, free: 13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.8224, allocations: 0.6063 MB / 0.7774 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.8227, allocations: 326.5 kB / 0.7777 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.8231, allocations: 197.2 kB / 0.7779 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002636/0.8233, allocations: 395.4 kB / 0.7782 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.8239, allocations: 326 kB / 0.7785 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.8248, allocations: 0.5546 MB / 0.7791 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.8262, allocations: 0.7658 MB / 0.7798 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.8262, allocations: 2.938 kB / 0.7798 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002199/0.8284, allocations: 1.016 MB / 0.7808 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8285, allocations: 5.125 kB / 0.7808 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8285, allocations: 2.469 kB / 0.7808 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.8291, allocations: 86.95 kB / 0.7809 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.8299, allocations: 200.8 kB / 0.7811 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.8321, allocations: 1.514 MB / 0.7826 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.8328, allocations: 90.25 kB / 0.7827 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.8329, allocations: 49.39 kB / 0.7827 GB, free: 8.551 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.0005228/0.8334, allocations: 318.8 kB / 0.783 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8336, allocations: 95.47 kB / 0.7831 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.8365, allocations: 1.286 MB / 0.7844 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.8365, allocations: 8.25 kB / 0.7844 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8365, allocations: 6.172 kB / 0.7844 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.8365, allocations: 3.984 kB / 0.7844 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.8403, allocations: 2.136 MB / 0.7865 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8403, allocations: 0 / 0.7865 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.841, allocations: 178.6 kB / 0.7866 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.8414, allocations: 77.84 kB / 0.7867 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.8415, allocations: 24.67 kB / 0.7867 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.8435, allocations: 1.545 MB / 0.7883 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8435, allocations: 2.531 kB / 0.7883 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.8457, allocations: 1.113 MB / 0.7893 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.8462, allocations: 236 kB / 0.7896 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.8463, allocations: 24.47 kB / 0.7896 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/0.847, allocations: 68.03 kB / 0.7897 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8472, allocations: 79.03 kB / 0.7897 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.8473, allocations: 38.73 kB / 0.7898 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006259/0.8479, allocations: 496.4 kB / 0.7902 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8479, allocations: 0 / 0.7902 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001038/0.8489, allocations: 425 kB / 0.7906 GB, free: 3.258 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.002055/0.851, allocations: 0.6349 MB / 0.7913 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.8529, allocations: 0.9252 MB / 0.7922 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8529, allocations: 0 / 0.7922 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.8539, allocations: 0.5497 MB / 0.7927 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.8552, allocations: 300.7 kB / 0.793 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.8601, allocations: 2.379 MB / 0.7953 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.8606, allocations: 0.581 MB / 0.7959 GB, free: 320 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008569/0.8615, allocations: 282.2 kB / 0.7962 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.8618, allocations: 124.4 kB / 0.7963 GB, free: 8 kB / 0.6231 GB Notification: Performance of SimCode: time 6.52e-07/0.8618, allocations: 0 / 0.7963 GB, free: 8 kB / 0.6231 GB Notification: Performance of Templates: time 0.03362/0.8954, allocations: 17.17 MB / 0.813 GB, free: 15.06 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 ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.958480364992283] Failed to read output from testmodel.py, exit status != 0: 0.9043304149527103 0.91924256 0.12109781800000001 Calling exit ...