Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005891/0.00589, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001132/0.001132, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 66.23 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.172, allocations: 80.93 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006809/0.1788, allocations: 4.908 MB / 0.6694 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6118/0.7907, allocations: 150.9 MB / 0.8168 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.7918, allocations: 21.62 kB / 0.8168 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.7926, allocations: 194.5 kB / 0.817 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.7947, allocations: 0.5917 MB / 0.8176 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.7968, allocations: 0.8952 MB / 0.8184 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.7986, allocations: 1.585 MB / 0.82 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.7999, allocations: 1.064 MB / 0.821 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.8009, allocations: 0.6961 MB / 0.8217 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.8016, allocations: 0.7367 MB / 0.8224 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.8018, allocations: 176.1 kB / 0.8226 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.8029, allocations: 0.53 MB / 0.8231 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.8033, allocations: 415.3 kB / 0.8235 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.8039, allocations: 0.7865 MB / 0.8243 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.8061, allocations: 2.185 MB / 0.8264 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8061, allocations: 2.875 kB / 0.8264 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8061, allocations: 0 / 0.8264 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.8061, allocations: 4 kB / 0.8264 GB, free: 2.523 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002699/0.8088, allocations: 1.774 MB / 0.8282 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.8089, allocations: 9.906 kB / 0.8282 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.8098, allocations: 239 kB / 0.8284 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.8109, allocations: 0.8945 MB / 0.8293 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.811, allocations: 108.7 kB / 0.8294 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.8112, allocations: 140.8 kB / 0.8295 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.8132, allocations: 1.425 MB / 0.8309 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.8132, allocations: 3.938 kB / 0.8309 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.8133, allocations: 60.31 kB / 0.831 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.8134, allocations: 35.12 kB / 0.831 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.8155, allocations: 1.516 MB / 0.8325 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.8207, allocations: 3.714 MB / 0.8361 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.8222, allocations: 0.9584 MB / 0.837 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.8228, allocations: 401.9 kB / 0.8374 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.8229, allocations: 45.2 kB / 0.8375 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/0.8238, allocations: 0.5865 MB / 0.838 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/0.8238, allocations: 0 / 0.838 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.003311/0.8271, allocations: 1.471 MB / 0.8395 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.8272, allocations: 194.7 kB / 0.8397 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.8281, allocations: 0.7629 MB / 0.8404 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.8282, allocations: 51.27 kB / 0.8404 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.8286, allocations: 0.5511 MB / 0.841 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.8288, allocations: 349.5 kB / 0.8413 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.8292, allocations: 215.2 kB / 0.8415 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8293, allocations: 347.9 kB / 0.8419 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.8299, allocations: 358.8 kB / 0.8422 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.8306, allocations: 475.9 kB / 0.8427 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.832, allocations: 0.8301 MB / 0.8435 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.832, allocations: 4 kB / 0.8435 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002206/0.8342, allocations: 1.113 MB / 0.8446 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8343, allocations: 4.719 kB / 0.8446 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8343, allocations: 4.312 kB / 0.8446 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.8348, allocations: 83.75 kB / 0.8446 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.8357, allocations: 223.9 kB / 0.8449 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.8377, allocations: 1.646 MB / 0.8465 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.8385, allocations: 111 kB / 0.8466 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.8386, allocations: 47.95 kB / 0.8466 GB, free: 4.359 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 (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.0004849/0.8391, allocations: 322.6 kB / 0.8469 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.8392, allocations: 106.8 kB / 0.847 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.842, allocations: 1.374 MB / 0.8484 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.8421, allocations: 12 kB / 0.8484 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8421, allocations: 11.92 kB / 0.8484 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8421, allocations: 3.984 kB / 0.8484 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.8459, allocations: 2.556 MB / 0.8509 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.846, allocations: 0 / 0.8509 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.8467, allocations: 191.7 kB / 0.8511 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.8471, allocations: 76.72 kB / 0.8511 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.8472, allocations: 31.98 kB / 0.8512 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.849, allocations: 1.678 MB / 0.8528 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.849, allocations: 0 / 0.8528 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.8511, allocations: 1.173 MB / 0.854 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.8515, allocations: 323.4 kB / 0.8543 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.8517, allocations: 27.84 kB / 0.8543 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.8523, allocations: 59.94 kB / 0.8544 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.8525, allocations: 72.89 kB / 0.8544 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.8526, allocations: 43.98 kB / 0.8545 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006817/0.8532, allocations: 0.577 MB / 0.855 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8532, allocations: 0 / 0.855 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00104/0.8543, allocations: 410.6 kB / 0.8554 GB, free: 11.08 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: 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.001292/0.8556, allocations: 0.6 MB / 0.856 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.8576, allocations: 1.038 MB / 0.857 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8576, allocations: 0 / 0.857 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8586, allocations: 0.6135 MB / 0.8576 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8598, allocations: 310.3 kB / 0.8579 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.8642, allocations: 2.316 MB / 0.8602 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.865, allocations: 1.165 MB / 0.8613 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008207/0.8658, allocations: 296.3 kB / 0.8616 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.8662, allocations: 131.4 kB / 0.8617 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of SimCode: time 1.904e-06/0.8662, allocations: 4 kB / 0.8617 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of Templates: time 0.02878/0.895, allocations: 18.01 MB / 0.8793 GB, free: 2.848 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)