Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.00183/0.00183, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.002243/0.002243, allocations: 161.6 kB / 23.01 MB, free: 4.598 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.93 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.807/0.807, allocations: 101.3 MB / 361.1 MB, free: 8.766 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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [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.002144/0.002144, allocations: 67.91 kB / 0.5356 GB, free: 12.69 MB / 462.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.1961/0.1982, allocations: 85.89 MB / 0.6195 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008072/0.2063, allocations: 4.468 MB / 0.6238 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6481/0.8544, allocations: 133 MB / 0.7537 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.8552, allocations: 23.88 kB / 0.7537 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.8559, allocations: 206 kB / 0.7539 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.8579, allocations: 0.6071 MB / 0.7545 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.8603, allocations: 0.9229 MB / 0.7554 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.8624, allocations: 1.604 MB / 0.757 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.8636, allocations: 0.7473 MB / 0.7577 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.8648, allocations: 0.72 MB / 0.7584 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.8657, allocations: 0.6452 MB / 0.759 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.8659, allocations: 180 kB / 0.7592 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.8671, allocations: 0.5415 MB / 0.7597 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.8676, allocations: 434.5 kB / 0.7601 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000697/0.8683, allocations: 0.6296 MB / 0.7608 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.8714, allocations: 2.241 MB / 0.7629 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8714, allocations: 7.75 kB / 0.763 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8714, allocations: 0 / 0.763 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.8714, allocations: 0 / 0.763 GB, free: 0.6953 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003486/0.8749, allocations: 1.787 MB / 0.7647 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8749, allocations: 8.031 kB / 0.7647 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.8789, allocations: 443.5 kB / 0.7651 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.8807, allocations: 0.8505 MB / 0.766 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.8808, allocations: 106.8 kB / 0.7661 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.881, allocations: 140 kB / 0.7662 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.8839, allocations: 1.675 MB / 0.7678 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.8839, allocations: 4 kB / 0.7678 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.884, allocations: 56 kB / 0.7679 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.8841, allocations: 36 kB / 0.7679 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.8867, allocations: 1.474 MB / 0.7694 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.8932, allocations: 3.095 MB / 0.7724 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.8951, allocations: 0.897 MB / 0.7733 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.8958, allocations: 367.7 kB / 0.7736 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.896, allocations: 32.97 kB / 0.7736 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.8972, allocations: 0.6752 MB / 0.7743 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.8972, allocations: 0 / 0.7743 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.004273/0.9014, allocations: 1.396 MB / 0.7757 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.9016, allocations: 197.1 kB / 0.7759 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.9029, allocations: 0.6763 MB / 0.7765 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.903, allocations: 45.7 kB / 0.7766 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006273/0.9036, allocations: 0.5829 MB / 0.7771 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.904, allocations: 368.8 kB / 0.7775 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.9044, allocations: 222.8 kB / 0.7777 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.9046, allocations: 386.8 kB / 0.7781 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.9054, allocations: 362.4 kB / 0.7784 GB, free: 500 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.9064, allocations: 0.5885 MB / 0.779 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.9082, allocations: 0.8351 MB / 0.7798 GB, free: 15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9082, allocations: 1 kB / 0.7798 GB, free: 15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002819/0.911, allocations: 1.107 MB / 0.7809 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.911, allocations: 11.41 kB / 0.7809 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.911, allocations: 0 / 0.7809 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.9117, allocations: 88.83 kB / 0.781 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.9127, allocations: 223.6 kB / 0.7812 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.9153, allocations: 1.503 MB / 0.7827 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.9163, allocations: 99.36 kB / 0.7827 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.9165, allocations: 48.14 kB / 0.7828 GB, free: 11.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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.0007762/0.9172, allocations: 328 kB / 0.7831 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.9176, allocations: 95.39 kB / 0.7832 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.9211, allocations: 1.374 MB / 0.7845 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.9211, allocations: 15.94 kB / 0.7846 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9211, allocations: 0 / 0.7846 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.9211, allocations: 7.969 kB / 0.7846 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/0.9261, allocations: 2.21 MB / 0.7867 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9261, allocations: 0 / 0.7867 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/0.927, allocations: 195.8 kB / 0.7869 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.9275, allocations: 64.8 kB / 0.787 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/0.9276, allocations: 35.97 kB / 0.787 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.9299, allocations: 1.543 MB / 0.7885 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9299, allocations: 8.094 kB / 0.7885 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.9328, allocations: 1.162 MB / 0.7897 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.9334, allocations: 231 kB / 0.7899 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.9337, allocations: 35.88 kB / 0.7899 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.9345, allocations: 52.02 kB / 0.79 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.9347, allocations: 84.84 kB / 0.79 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9348, allocations: 39.97 kB / 0.7901 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001001/0.9358, allocations: 0.5107 MB / 0.7906 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.9358, allocations: 0 / 0.7906 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001338/0.9372, allocations: 418.7 kB / 0.791 GB, free: 3.254 MB / 0.6544 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 (115): * Single equations (assignments): 112 * 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.002383/0.9396, allocations: 0.6384 MB / 0.7916 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.9421, allocations: 0.9914 MB / 0.7926 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9421, allocations: 4.062 kB / 0.7926 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.9434, allocations: 0.5859 MB / 0.7931 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.945, allocations: 312.4 kB / 0.7934 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.9511, allocations: 2.378 MB / 0.7958 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/0.9519, allocations: 0.5824 MB / 0.7963 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001137/0.9531, allocations: 283.8 kB / 0.7966 GB, free: 13.67 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.9535, allocations: 140.4 kB / 0.7967 GB, free: 13.54 MB / 0.67 GB Notification: Performance of SimCode: time 1.332e-06/0.9535, allocations: 0 / 0.7967 GB, free: 13.54 MB / 0.67 GB Notification: Performance of Templates: time 0.03514/0.9886, allocations: 17.86 MB / 0.8142 GB, free: 11.93 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.041567635023966] Failed to read output from testmodel.py, exit status != 0: 0.9983007240807638 1.01353505 0.13877388400000001 Calling exit ...