Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.0007243/0.0007243, allocations: 76.55 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.0007136/0.0007136, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8058/0.8058, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6768/0.6768, allocations: 154.5 MB / 414.5 MB, free: 0.8633 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.255e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004108/0.004131, allocations: 4.488 MB / 0.6236 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3637/0.3678, allocations: 132.7 MB / 0.7533 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/0.3685, allocations: 23.97 kB / 0.7533 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.369, allocations: 202.5 kB / 0.7535 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3704, allocations: 0.5861 MB / 0.7541 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3719, allocations: 0.8856 MB / 0.7549 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3733, allocations: 1.479 MB / 0.7564 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.3739, allocations: 409.1 kB / 0.7568 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/0.3747, allocations: 0.7566 MB / 0.7575 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.3751, allocations: 414.7 kB / 0.7579 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3753, allocations: 119.5 kB / 0.758 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.376, allocations: 0.4895 MB / 0.7585 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3762, allocations: 311.3 kB / 0.7588 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.3765, allocations: 396.5 kB / 0.7592 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.3783, allocations: 1.814 MB / 0.7609 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3783, allocations: 0 / 0.7609 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3783, allocations: 0 / 0.7609 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.3783, allocations: 1.156 kB / 0.7609 GB, free: 11.73 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.001826/0.3801, allocations: 1.432 MB / 0.7623 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3802, allocations: 11.06 kB / 0.7624 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.3811, allocations: 256.8 kB / 0.7626 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.3819, allocations: 0.7198 MB / 0.7633 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.382, allocations: 63.06 kB / 0.7634 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.3821, allocations: 87.5 kB / 0.7634 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3832, allocations: 1.198 MB / 0.7646 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3832, allocations: 1.406 kB / 0.7646 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.3833, allocations: 36.73 kB / 0.7646 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.3833, allocations: 21.09 kB / 0.7647 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.3845, allocations: 1.079 MB / 0.7657 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.387, allocations: 2.12 MB / 0.7678 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.388, allocations: 0.7789 MB / 0.7686 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.3883, allocations: 297.5 kB / 0.7688 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.3884, allocations: 30.89 kB / 0.7689 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006373/0.389, allocations: 0.6119 MB / 0.7695 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.389, allocations: 0 / 0.7695 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.002078/0.3911, allocations: 1.185 MB / 0.7706 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3912, allocations: 190.5 kB / 0.7708 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.3918, allocations: 0.6106 MB / 0.7714 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.3919, allocations: 43.86 kB / 0.7714 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3921, allocations: 416.4 kB / 0.7718 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3922, allocations: 280.7 kB / 0.7721 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3924, allocations: 167.9 kB / 0.7723 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.3925, allocations: 385.1 kB / 0.7726 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.3928, allocations: 280 kB / 0.7729 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.3933, allocations: 0.4966 MB / 0.7734 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.394, allocations: 0.6248 MB / 0.774 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.394, allocations: 7.938 kB / 0.774 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001269/0.3953, allocations: 0.8774 MB / 0.7749 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3953, allocations: 5 kB / 0.7749 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3953, allocations: 1.125 kB / 0.7749 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.3956, allocations: 80.39 kB / 0.7749 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.396, allocations: 172.7 kB / 0.7751 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.3971, allocations: 1.5 MB / 0.7766 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.3976, allocations: 89.81 kB / 0.7767 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3977, allocations: 38.33 kB / 0.7767 GB, free: 2.734 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0003797/0.3981, allocations: 273.3 kB / 0.777 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3982, allocations: 90.95 kB / 0.777 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3996, allocations: 1.136 MB / 0.7782 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3996, allocations: 10.16 kB / 0.7782 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3996, allocations: 2.891 kB / 0.7782 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3996, allocations: 4.594 kB / 0.7782 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.4016, allocations: 1.752 MB / 0.7799 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4016, allocations: 3.938 kB / 0.7799 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.402, allocations: 151.8 kB / 0.78 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.4022, allocations: 72.22 kB / 0.7801 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.4022, allocations: 30.75 kB / 0.7801 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009419/0.4031, allocations: 1.534 MB / 0.7816 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4031, allocations: 3.078 kB / 0.7816 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4045, allocations: 1.048 MB / 0.7827 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.4048, allocations: 198.1 kB / 0.7828 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.4049, allocations: 24.56 kB / 0.7829 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4052, allocations: 67.64 kB / 0.7829 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4053, allocations: 84.23 kB / 0.783 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.4054, allocations: 39.62 kB / 0.783 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004295/0.4058, allocations: 447 kB / 0.7835 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4058, allocations: 0 / 0.7835 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008515/0.4067, allocations: 343.2 kB / 0.7838 GB, free: 14.85 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001043/0.4077, allocations: 0.6641 MB / 0.7844 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.4089, allocations: 0.8282 MB / 0.7853 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4089, allocations: 0 / 0.7853 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.4095, allocations: 0.5104 MB / 0.7858 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.4102, allocations: 291.4 kB / 0.786 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4125, allocations: 1.763 MB / 0.7878 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4128, allocations: 450.3 kB / 0.7882 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.413, allocations: 123.3 kB / 0.7883 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/0.4131, allocations: 0 / 0.7883 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.01785/0.4309, allocations: 19.47 MB / 0.8073 GB, free: 2.84 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.863807758316398] Failed to read output from testmodel.py, exit status != 0: 0.43606208357959986 0.443580569 0.06375288300000001 Calling exit ...