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.001424/0.001424, allocations: 76.84 kB / 19.18 MB, free: 2.531 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.001871/0.001871, allocations: 170.9 kB / 22.46 MB, free: 5.355 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.205/1.205, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 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 178] 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 2.534e-06/2.534e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.551e-05, allocations: 5.562 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007376/0.007411, allocations: 4.479 MB / 0.6229 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6945/0.7019, allocations: 132.8 MB / 0.7525 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.7032, allocations: 23.12 kB / 0.7526 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.7044, allocations: 201.4 kB / 0.7528 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.7074, allocations: 0.5838 MB / 0.7533 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.71, allocations: 0.8884 MB / 0.7542 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.712, allocations: 1.488 MB / 0.7556 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.7127, allocations: 400.5 kB / 0.756 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.7139, allocations: 0.7505 MB / 0.7568 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.7145, allocations: 417 kB / 0.7572 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.7147, allocations: 120.6 kB / 0.7573 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.716, allocations: 0.4929 MB / 0.7578 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.7163, allocations: 314.1 kB / 0.7581 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.7168, allocations: 395.6 kB / 0.7584 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.7191, allocations: 1.813 MB / 0.7602 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7191, allocations: 0 / 0.7602 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7192, allocations: 5.25 kB / 0.7602 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.32e-05/0.7192, allocations: 0 / 0.7602 GB, free: 2.746 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002759/0.7219, allocations: 1.423 MB / 0.7616 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.751e-05/0.722, allocations: 11.62 kB / 0.7616 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.7238, allocations: 261.5 kB / 0.7619 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.7252, allocations: 0.7144 MB / 0.7626 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.7252, allocations: 65.78 kB / 0.7626 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.7254, allocations: 88.7 kB / 0.7627 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.7271, allocations: 1.196 MB / 0.7639 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.7271, allocations: 1.094 kB / 0.7639 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.7272, allocations: 36.22 kB / 0.7639 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.7273, allocations: 22.19 kB / 0.7639 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.729, allocations: 1.083 MB / 0.765 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.7333, allocations: 2.122 MB / 0.7671 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.7351, allocations: 0.7773 MB / 0.7678 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.7357, allocations: 281.8 kB / 0.7681 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/0.7357, allocations: 32.59 kB / 0.7681 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.7368, allocations: 0.6187 MB / 0.7687 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.7368, allocations: 0 / 0.7687 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.003648/0.7404, allocations: 1.182 MB / 0.7699 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.7406, allocations: 189.5 kB / 0.7701 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.7415, allocations: 0.6185 MB / 0.7707 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.7416, allocations: 43.27 kB / 0.7707 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.7421, allocations: 416 kB / 0.7711 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.7424, allocations: 279.7 kB / 0.7714 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.7427, allocations: 168.4 kB / 0.7715 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.743, allocations: 385.8 kB / 0.7719 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/0.7435, allocations: 270.8 kB / 0.7722 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.7443, allocations: 0.4978 MB / 0.7726 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.7456, allocations: 0.6293 MB / 0.7733 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7456, allocations: 7.875 kB / 0.7733 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002164/0.7478, allocations: 0.8828 MB / 0.7741 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.7478, allocations: 5.188 kB / 0.7741 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7478, allocations: 2.312 kB / 0.7741 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.7485, allocations: 79.7 kB / 0.7742 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.7492, allocations: 173.2 kB / 0.7744 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.752, allocations: 1.496 MB / 0.7758 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7531, allocations: 87.33 kB / 0.7759 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.7531, allocations: 40.19 kB / 0.776 GB, free: 8.566 MB / 0.6231 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.000842/0.754, allocations: 271.2 kB / 0.7762 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.7542, allocations: 87.75 kB / 0.7763 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.7571, allocations: 1.135 MB / 0.7774 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.7571, allocations: 10.84 kB / 0.7774 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7572, allocations: 4 kB / 0.7774 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.7572, allocations: 3.984 kB / 0.7774 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.7612, allocations: 1.763 MB / 0.7791 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7612, allocations: 0 / 0.7791 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.7619, allocations: 155.8 kB / 0.7793 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/0.7624, allocations: 67.69 kB / 0.7794 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.7625, allocations: 34.42 kB / 0.7794 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.7648, allocations: 1.526 MB / 0.7809 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7648, allocations: 3.938 kB / 0.7809 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.7674, allocations: 1.051 MB / 0.7819 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.768, allocations: 201.9 kB / 0.7821 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.7683, allocations: 20.91 kB / 0.7821 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.7691, allocations: 65.47 kB / 0.7822 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.7693, allocations: 81.64 kB / 0.7823 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7695, allocations: 40.53 kB / 0.7823 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008032/0.7703, allocations: 445.5 kB / 0.7827 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7703, allocations: 0 / 0.7827 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00141/0.7717, allocations: 353.8 kB / 0.7831 GB, free: 3.82 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: 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.002279/0.7739, allocations: 0.6578 MB / 0.7837 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.776, allocations: 0.8326 MB / 0.7845 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.776, allocations: 0 / 0.7845 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.7771, allocations: 0.5041 MB / 0.785 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7787, allocations: 292.6 kB / 0.7853 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.783, allocations: 1.719 MB / 0.787 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.7837, allocations: 451.9 kB / 0.7874 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001025/0.7847, allocations: 260.1 kB / 0.7876 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.7851, allocations: 111 kB / 0.7878 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of SimCode: time 1.533e-06/0.7851, allocations: 0 / 0.7878 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.03343/0.8185, allocations: 15.7 MB / 0.8031 GB, free: 7.32 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.4812869764864445] Failed to read output from testmodel.py, exit status != 0: 0.8293170966207981 0.847151113 0.12443417399999994 Calling exit ...