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.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/package.mo", uses=false) 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.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_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008271/0.008271, allocations: 100.7 kB / 15.73 MB, free: 5.988 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.001691/0.001691, allocations: 197 kB / 16.67 MB, free: 5.926 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8161/0.8161, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 66.38 kB / 0.5813 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1912, allocations: 80.21 MB / 0.6596 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006329/0.1976, allocations: 4.908 MB / 0.6644 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1797/0.3773, allocations: 150.9 MB / 0.8118 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.3783, allocations: 19.94 kB / 0.8118 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.379, allocations: 198.1 kB / 0.812 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3808, allocations: 0.5934 MB / 0.8126 GB, free: 388 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5348/0.9156, allocations: 0.8817 MB / 0.8135 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002557/0.9182, allocations: 1.592 MB / 0.815 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.9197, allocations: 1.062 MB / 0.8161 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.9209, allocations: 0.6877 MB / 0.8167 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.9219, allocations: 0.7333 MB / 0.8175 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.9222, allocations: 176.5 kB / 0.8176 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.9236, allocations: 0.5364 MB / 0.8181 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.9241, allocations: 416.8 kB / 0.8185 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.9251, allocations: 0.7794 MB / 0.8193 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.9285, allocations: 2.184 MB / 0.8214 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9286, allocations: 0 / 0.8214 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9286, allocations: 2.562 kB / 0.8214 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.625e-05/0.9286, allocations: 0 / 0.8214 GB, free: 3.156 MB / 0.6387 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.003774/0.9324, allocations: 1.779 MB / 0.8232 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.9325, allocations: 14.34 kB / 0.8232 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.9337, allocations: 235.9 kB / 0.8234 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.9353, allocations: 0.8961 MB / 0.8243 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.9355, allocations: 110.1 kB / 0.8244 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.9358, allocations: 137.2 kB / 0.8245 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.9391, allocations: 1.431 MB / 0.8259 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.9391, allocations: 0 / 0.8259 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9393, allocations: 60.84 kB / 0.826 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.9393, allocations: 34.44 kB / 0.826 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.9422, allocations: 1.515 MB / 0.8275 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.9484, allocations: 3.727 MB / 0.8311 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.9504, allocations: 0.9535 MB / 0.8321 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.9511, allocations: 394.1 kB / 0.8324 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.9513, allocations: 55.91 kB / 0.8325 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.9525, allocations: 0.5793 MB / 0.8331 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.636e-06/0.9525, allocations: 3.938 kB / 0.8331 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.004077/0.9566, allocations: 1.474 MB / 0.8345 GB, free: 396 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9567, allocations: 194.7 kB / 0.8347 GB, free: 168 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.9581, allocations: 0.7629 MB / 0.8354 GB, free: 32 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.9582, allocations: 45.64 kB / 0.8355 GB, free: 0 / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/0.9589, allocations: 0.5528 MB / 0.836 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.9594, allocations: 343.6 kB / 0.8363 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.9598, allocations: 219.3 kB / 0.8366 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.96, allocations: 347.6 kB / 0.8369 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.9607, allocations: 362.8 kB / 0.8372 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.9616, allocations: 476 kB / 0.8377 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.963, allocations: 0.8269 MB / 0.8385 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9631, allocations: 0 / 0.8385 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002483/0.9655, allocations: 1.121 MB / 0.8396 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9656, allocations: 4.844 kB / 0.8396 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.9656, allocations: 4.625 kB / 0.8396 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.9662, allocations: 87.8 kB / 0.8397 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.9672, allocations: 223.1 kB / 0.8399 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.9694, allocations: 1.639 MB / 0.8415 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.9704, allocations: 113.5 kB / 0.8416 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.9705, allocations: 48.17 kB / 0.8417 GB, free: 13.53 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.0007369/0.9712, allocations: 313.6 kB / 0.8419 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.9714, allocations: 108.3 kB / 0.8421 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.9744, allocations: 1.376 MB / 0.8434 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.9744, allocations: 10.62 kB / 0.8434 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9744, allocations: 3.484 kB / 0.8434 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.9744, allocations: 13.06 kB / 0.8434 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.9784, allocations: 2.552 MB / 0.8459 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.9784, allocations: 0.9688 kB / 0.8459 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.9792, allocations: 191.9 kB / 0.8461 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.9796, allocations: 75.81 kB / 0.8462 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.9797, allocations: 32.44 kB / 0.8462 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.9816, allocations: 1.679 MB / 0.8478 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.9816, allocations: 0.8438 kB / 0.8478 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.9841, allocations: 1.165 MB / 0.849 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.9847, allocations: 320.6 kB / 0.8493 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.9848, allocations: 37.16 kB / 0.8493 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.9856, allocations: 56.02 kB / 0.8494 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.9858, allocations: 81.02 kB / 0.8495 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.9859, allocations: 40.06 kB / 0.8495 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008124/0.9867, allocations: 0.5689 MB / 0.85 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9867, allocations: 0.9375 kB / 0.85 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00133/0.988, allocations: 408.2 kB / 0.8504 GB, free: 10.87 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.001432/0.9895, allocations: 0.6045 MB / 0.851 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.9915, allocations: 1.041 MB / 0.852 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.9915, allocations: 1.906 kB / 0.852 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.9925, allocations: 0.6124 MB / 0.8526 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.994, allocations: 308 kB / 0.8529 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.9993, allocations: 2.325 MB / 0.8552 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1, allocations: 1.169 MB / 0.8563 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001185/1.002, allocations: 296.7 kB / 0.8566 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/1.002, allocations: 134.1 kB / 0.8568 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/1.002, allocations: 0 / 0.8568 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of Templates: time 0.03456/1.037, allocations: 18.01 MB / 0.8744 GB, free: 4.176 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)