Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0006859/0.0006859, allocations: 76.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.0006983/0.0006983, allocations: 173.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.8189/0.8189, allocations: 177.1 MB / 203.5 MB, free: 5.414 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.7035/0.7035, allocations: 154.6 MB / 414.5 MB, free: 0.7578 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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.528e-05, allocations: 6.281 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004517/0.004543, allocations: 4.381 MB / 0.6235 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4/0.4045, allocations: 132.7 MB / 0.7531 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00066/0.4052, allocations: 23.19 kB / 0.7532 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.4057, allocations: 193.4 kB / 0.7533 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.407, allocations: 0.5763 MB / 0.7539 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.4085, allocations: 0.8733 MB / 0.7548 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.4096, allocations: 1.441 MB / 0.7562 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.4102, allocations: 397.8 kB / 0.7565 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.4109, allocations: 0.721 MB / 0.7573 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.4113, allocations: 402.1 kB / 0.7576 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.4114, allocations: 118.5 kB / 0.7578 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.4122, allocations: 0.492 MB / 0.7582 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.4124, allocations: 306.5 kB / 0.7585 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.4127, allocations: 388.8 kB / 0.7589 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.4147, allocations: 1.783 MB / 0.7606 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4147, allocations: 3.938 kB / 0.7606 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.396e-06/0.4147, allocations: 1 kB / 0.7606 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.4147, allocations: 0 / 0.7606 GB, free: 11.92 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001821/0.4165, allocations: 1.389 MB / 0.762 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4166, allocations: 15.31 kB / 0.762 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.4175, allocations: 246.5 kB / 0.7622 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009156/0.4184, allocations: 0.7002 MB / 0.7629 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.4185, allocations: 62.02 kB / 0.763 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4185, allocations: 89.23 kB / 0.7631 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4197, allocations: 1.175 MB / 0.7642 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4198, allocations: 1.531 kB / 0.7642 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.4198, allocations: 36.42 kB / 0.7643 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4198, allocations: 21.16 kB / 0.7643 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4211, allocations: 1.061 MB / 0.7653 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.4236, allocations: 2.122 MB / 0.7674 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4247, allocations: 0.7583 MB / 0.7681 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.425, allocations: 279.5 kB / 0.7684 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.425, allocations: 25.19 kB / 0.7684 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.4256, allocations: 0.5896 MB / 0.769 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.274e-06/0.4256, allocations: 1.156 kB / 0.769 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.00184/0.4275, allocations: 1.121 MB / 0.7701 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4275, allocations: 194.4 kB / 0.7703 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.4281, allocations: 0.601 MB / 0.7709 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.4282, allocations: 38.11 kB / 0.7709 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.4284, allocations: 407 kB / 0.7713 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4285, allocations: 268.9 kB / 0.7715 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.4286, allocations: 158.1 kB / 0.7717 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.4287, allocations: 382.9 kB / 0.7721 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.429, allocations: 269.9 kB / 0.7723 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.4295, allocations: 492.4 kB / 0.7728 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.4301, allocations: 0.6043 MB / 0.7734 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4301, allocations: 0 / 0.7734 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001173/0.4313, allocations: 0.8488 MB / 0.7742 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4313, allocations: 6.094 kB / 0.7742 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4313, allocations: 5.281 kB / 0.7742 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.4317, allocations: 78.97 kB / 0.7743 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.432, allocations: 164.1 kB / 0.7744 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4331, allocations: 1.513 MB / 0.7759 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.4335, allocations: 84.31 kB / 0.776 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.4336, allocations: 36.97 kB / 0.776 GB, free: 3.035 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 (93): * Single equations (assignments): 92 * 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.0003399/0.4339, allocations: 277.1 kB / 0.7763 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.943e-05/0.434, allocations: 83.56 kB / 0.7764 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4354, allocations: 1.061 MB / 0.7774 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4354, allocations: 8.156 kB / 0.7774 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4354, allocations: 1.094 kB / 0.7774 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4354, allocations: 4.781 kB / 0.7774 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.4373, allocations: 1.703 MB / 0.7791 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4373, allocations: 5.094 kB / 0.7791 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.4376, allocations: 144.5 kB / 0.7792 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.4378, allocations: 72.41 kB / 0.7793 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.4378, allocations: 26.62 kB / 0.7793 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008791/0.4387, allocations: 1.543 MB / 0.7808 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4387, allocations: 0 / 0.7808 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.44, allocations: 0.9951 MB / 0.7818 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.4403, allocations: 195.3 kB / 0.782 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-05/0.4403, allocations: 19 kB / 0.782 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.4407, allocations: 61.5 kB / 0.7821 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4408, allocations: 70.23 kB / 0.7821 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.4408, allocations: 44.14 kB / 0.7822 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004022/0.4412, allocations: 431.8 kB / 0.7826 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4412, allocations: 0 / 0.7826 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008242/0.4421, allocations: 337.5 kB / 0.7829 GB, free: 15.19 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 (90): * Single equations (assignments): 84 * 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.001037/0.4431, allocations: 0.6519 MB / 0.7836 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.4442, allocations: 0.8014 MB / 0.7843 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4442, allocations: 2.5 kB / 0.7843 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.4447, allocations: 496.1 kB / 0.7848 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.4454, allocations: 282.3 kB / 0.7851 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.4475, allocations: 1.7 MB / 0.7867 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4478, allocations: 433.6 kB / 0.7872 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.448, allocations: 123.6 kB / 0.7873 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/0.448, allocations: 0 / 0.7873 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.01561/0.4636, allocations: 19 MB / 0.8058 GB, free: 4.305 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.20976575743407] Failed to read output from testmodel.py, exit status != 0: 0.4691759906709194 0.47677795 0.060251741000000004 Calling exit ...