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.005447/0.005447, 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.001122/0.001122, allocations: 199 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8555/0.8555, allocations: 135.2 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.56 kB / 0.5856 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 80.93 MB / 0.6646 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005927/0.1728, allocations: 4.173 MB / 0.6687 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.613/0.7858, allocations: 150.6 MB / 0.8158 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.7871, allocations: 22.81 kB / 0.8158 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.7881, allocations: 170 kB / 0.816 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.7904, allocations: 0.497 MB / 0.8165 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.7931, allocations: 0.7869 MB / 0.8173 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.7954, allocations: 1.216 MB / 0.8184 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.7966, allocations: 0.6202 MB / 0.819 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009226/0.7975, allocations: 457.8 kB / 0.8195 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.7984, allocations: 461.4 kB / 0.8199 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.7987, allocations: 104.7 kB / 0.82 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.8001, allocations: 482.2 kB / 0.8205 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.8006, allocations: 275 kB / 0.8207 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.8013, allocations: 0.4961 MB / 0.8212 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.8035, allocations: 1.506 MB / 0.8227 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8035, allocations: 0 / 0.8227 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8036, allocations: 0 / 0.8227 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.476e-05/0.8036, allocations: 2.906 kB / 0.8227 GB, free: 5.23 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.003132/0.8068, allocations: 1.339 MB / 0.824 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8068, allocations: 11.2 kB / 0.824 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.8078, allocations: 184.2 kB / 0.8242 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.809, allocations: 0.7242 MB / 0.8249 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.809, allocations: 65.25 kB / 0.825 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.8091, allocations: 74.09 kB / 0.825 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.8106, allocations: 0.8966 MB / 0.8259 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.8106, allocations: 0 / 0.8259 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.8107, allocations: 37.56 kB / 0.826 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.8108, allocations: 20.44 kB / 0.826 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.8124, allocations: 1.097 MB / 0.827 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.8162, allocations: 2.463 MB / 0.8294 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.8174, allocations: 0.7312 MB / 0.8302 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.8179, allocations: 290.3 kB / 0.8304 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.818, allocations: 35.11 kB / 0.8305 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.8187, allocations: 442.6 kB / 0.8309 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.345e-06/0.8187, allocations: 0 / 0.8309 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00298/0.8217, allocations: 1.113 MB / 0.832 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.8218, allocations: 194.3 kB / 0.8322 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.8226, allocations: 0.6088 MB / 0.8328 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.8227, allocations: 38.52 kB / 0.8328 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.823, allocations: 378.7 kB / 0.8332 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.8232, allocations: 249.4 kB / 0.8334 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.8235, allocations: 160.3 kB / 0.8335 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8237, allocations: 385 kB / 0.8339 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.8242, allocations: 247.2 kB / 0.8342 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.8247, allocations: 347.1 kB / 0.8345 GB, free: 13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009701/0.8257, allocations: 0.5904 MB / 0.8351 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8257, allocations: 0 / 0.8351 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001775/0.8275, allocations: 0.8145 MB / 0.8359 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8275, allocations: 7.062 kB / 0.8359 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8275, allocations: 2.562 kB / 0.8359 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.8281, allocations: 79.47 kB / 0.8359 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.8287, allocations: 159.6 kB / 0.8361 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.8308, allocations: 1.634 MB / 0.8377 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.8315, allocations: 84.39 kB / 0.8378 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.8316, allocations: 38.28 kB / 0.8378 GB, free: 10.51 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.0003484/0.8319, allocations: 254.1 kB / 0.838 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.8321, allocations: 81.09 kB / 0.8381 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.8342, allocations: 1.016 MB / 0.8391 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8342, allocations: 7.969 kB / 0.8391 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8342, allocations: 2.141 kB / 0.8391 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.8343, allocations: 7.969 kB / 0.8391 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.8372, allocations: 1.885 MB / 0.841 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8372, allocations: 2.125 kB / 0.841 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.8377, allocations: 148.8 kB / 0.8411 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.8381, allocations: 72.03 kB / 0.8412 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.8382, allocations: 22.08 kB / 0.8412 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.8399, allocations: 1.665 MB / 0.8428 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.84, allocations: 3.938 kB / 0.8428 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.8417, allocations: 0.9235 MB / 0.8437 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.842, allocations: 265.1 kB / 0.844 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8421, allocations: 20.81 kB / 0.844 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.8426, allocations: 50.69 kB / 0.8441 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.8428, allocations: 63.25 kB / 0.8441 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.8428, allocations: 27.64 kB / 0.8441 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004896/0.8433, allocations: 445.9 kB / 0.8446 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8433, allocations: 0 / 0.8446 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007928/0.8441, allocations: 291.6 kB / 0.8449 GB, free: 5.527 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.001351/0.8455, allocations: 0.6041 MB / 0.8454 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.847, allocations: 0.7885 MB / 0.8462 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.847, allocations: 7.938 kB / 0.8462 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.8479, allocations: 496.3 kB / 0.8467 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.849, allocations: 292.7 kB / 0.847 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.8526, allocations: 1.677 MB / 0.8486 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.8534, allocations: 1.007 MB / 0.8496 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008701/0.8543, allocations: 254.3 kB / 0.8498 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.8546, allocations: 95.39 kB / 0.8499 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/0.8546, allocations: 0 / 0.8499 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of Templates: time 0.02515/0.8798, allocations: 14.29 MB / 0.8639 GB, free: 2.723 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)