Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006184/0.006184, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 196.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8394/0.8394, allocations: 135.1 MB / 425.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.27 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2214, allocations: 80.93 MB / 0.6646 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00704/0.2285, allocations: 4.172 MB / 0.6687 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7121/0.9406, allocations: 150.7 MB / 0.8158 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.9419, allocations: 16.72 kB / 0.8158 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.943, allocations: 165.2 kB / 0.816 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.9461, allocations: 0.493 MB / 0.8165 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.9494, allocations: 0.7942 MB / 0.8173 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.9521, allocations: 1.209 MB / 0.8184 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.9539, allocations: 0.6279 MB / 0.8191 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.9551, allocations: 449.2 kB / 0.8195 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.9563, allocations: 466.1 kB / 0.8199 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.9567, allocations: 105.7 kB / 0.82 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.9585, allocations: 471.4 kB / 0.8205 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006062/0.9592, allocations: 274.3 kB / 0.8207 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.9605, allocations: 0.5123 MB / 0.8212 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.9643, allocations: 1.498 MB / 0.8227 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9644, allocations: 0 / 0.8227 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9644, allocations: 0 / 0.8227 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.9645, allocations: 0 / 0.8227 GB, free: 5.324 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005019/0.9695, allocations: 1.338 MB / 0.824 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.9696, allocations: 15.14 kB / 0.824 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.9709, allocations: 182.2 kB / 0.8242 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.9727, allocations: 0.7346 MB / 0.8249 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.9728, allocations: 59.19 kB / 0.825 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.9731, allocations: 80.19 kB / 0.825 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.976, allocations: 0.8909 MB / 0.8259 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.9761, allocations: 2.938 kB / 0.8259 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.9763, allocations: 31.41 kB / 0.8259 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.9763, allocations: 20.09 kB / 0.826 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.9794, allocations: 1.105 MB / 0.827 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007183/0.9866, allocations: 2.455 MB / 0.8294 GB, free: 496 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.9889, allocations: 0.7308 MB / 0.8302 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.9897, allocations: 290.6 kB / 0.8304 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.9898, allocations: 32.86 kB / 0.8305 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.9911, allocations: 442.4 kB / 0.8309 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 7.474e-06/0.9911, allocations: 3 kB / 0.8309 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004706/0.9959, allocations: 1.113 MB / 0.832 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.9961, allocations: 188.4 kB / 0.8322 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.9978, allocations: 0.6081 MB / 0.8328 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.9979, allocations: 44.45 kB / 0.8328 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.9985, allocations: 381.5 kB / 0.8332 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.9989, allocations: 245.5 kB / 0.8334 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.9993, allocations: 163.7 kB / 0.8335 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002946/0.9996, allocations: 376.2 kB / 0.8339 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/1, allocations: 255.8 kB / 0.8342 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000981/1.001, allocations: 343 kB / 0.8345 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/1.003, allocations: 0.5901 MB / 0.8351 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/1.003, allocations: 0 / 0.8351 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003027/1.006, allocations: 0.8077 MB / 0.8358 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/1.006, allocations: 4.719 kB / 0.8358 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.006, allocations: 10.8 kB / 0.8359 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/1.007, allocations: 85.42 kB / 0.8359 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/1.008, allocations: 162.4 kB / 0.8361 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.011, allocations: 1.633 MB / 0.8377 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.012, allocations: 82.8 kB / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.013, allocations: 32.66 kB / 0.8378 GB, free: 10.61 MB / 0.6075 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 (89): * Single equations (assignments): 88 * 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.0008896/1.013, allocations: 261.1 kB / 0.838 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/1.014, allocations: 80.5 kB / 0.8381 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/1.017, allocations: 1.02 MB / 0.8391 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.017, allocations: 14 kB / 0.8391 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.017, allocations: 3.938 kB / 0.8391 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.017, allocations: 3.984 kB / 0.8391 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/1.022, allocations: 1.879 MB / 0.841 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.023, allocations: 0 / 0.841 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/1.023, allocations: 145.2 kB / 0.8411 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/1.024, allocations: 74.16 kB / 0.8412 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/1.024, allocations: 23.3 kB / 0.8412 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/1.026, allocations: 1.662 MB / 0.8428 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.026, allocations: 3.938 kB / 0.8428 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.029, allocations: 0.9276 MB / 0.8437 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/1.029, allocations: 256.5 kB / 0.844 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.029, allocations: 24.58 kB / 0.844 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/1.03, allocations: 53.14 kB / 0.8441 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.03, allocations: 63 kB / 0.8441 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/1.03, allocations: 34.58 kB / 0.8442 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007143/1.031, allocations: 437.9 kB / 0.8446 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 0 / 0.8446 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000983/1.032, allocations: 293.7 kB / 0.8448 GB, free: 5.621 MB / 0.6075 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 (87): * Single equations (assignments): 84 * 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.001605/1.033, allocations: 0.5945 MB / 0.8454 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.035, allocations: 0.7969 MB / 0.8462 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.035, allocations: 4.062 kB / 0.8462 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/1.036, allocations: 0.4924 MB / 0.8467 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.038, allocations: 288.5 kB / 0.847 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/1.042, allocations: 1.666 MB / 0.8486 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/1.043, allocations: 1.011 MB / 0.8496 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001012/1.044, allocations: 254.3 kB / 0.8498 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/1.044, allocations: 103.4 kB / 0.8499 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of SimCode: time 1.292e-06/1.044, allocations: 0 / 0.8499 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of Templates: time 0.02781/1.072, allocations: 14.28 MB / 0.8639 GB, free: 2.664 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)