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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001768, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9125/0.9125, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 65.41 kB / 0.5053 GB, free: 5.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1787, allocations: 80.93 MB / 0.5844 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00739/0.1861, allocations: 4.894 MB / 0.5891 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5764/0.7625, allocations: 150.9 MB / 0.7365 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.7634, allocations: 22.59 kB / 0.7365 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.7641, allocations: 192.3 kB / 0.7367 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.7658, allocations: 0.5847 MB / 0.7373 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.768, allocations: 0.885 MB / 0.7382 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.7702, allocations: 1.574 MB / 0.7397 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.7716, allocations: 1.06 MB / 0.7407 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.7726, allocations: 0.6828 MB / 0.7414 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.7734, allocations: 0.737 MB / 0.7421 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.7736, allocations: 173.8 kB / 0.7423 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.7748, allocations: 0.5014 MB / 0.7428 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.7752, allocations: 416.4 kB / 0.7432 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.776, allocations: 0.7799 MB / 0.7439 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.7782, allocations: 2.13 MB / 0.746 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7783, allocations: 2.594 kB / 0.746 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7783, allocations: 0 / 0.746 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.7783, allocations: 4 kB / 0.746 GB, free: 5.512 MB / 0.5606 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.002834/0.7811, allocations: 1.78 MB / 0.7478 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.7812, allocations: 8.219 kB / 0.7478 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/0.7822, allocations: 236.1 kB / 0.748 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.7834, allocations: 0.8846 MB / 0.7489 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.7834, allocations: 104.2 kB / 0.749 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.7836, allocations: 139.5 kB / 0.7491 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.7858, allocations: 1.426 MB / 0.7505 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7859, allocations: 0 / 0.7505 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.786, allocations: 63.16 kB / 0.7505 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.786, allocations: 33.91 kB / 0.7506 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.7883, allocations: 1.522 MB / 0.7521 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.7944, allocations: 3.759 MB / 0.7557 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.7961, allocations: 0.9643 MB / 0.7567 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.7968, allocations: 399.7 kB / 0.7571 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.7969, allocations: 45.08 kB / 0.7571 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.798, allocations: 0.5864 MB / 0.7577 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.494e-06/0.798, allocations: 0 / 0.7577 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003717/0.8017, allocations: 1.485 MB / 0.7591 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8019, allocations: 192.9 kB / 0.7593 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.8029, allocations: 0.7629 MB / 0.76 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.803, allocations: 45.7 kB / 0.7601 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.8035, allocations: 0.5466 MB / 0.7606 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.8039, allocations: 350.9 kB / 0.761 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.8042, allocations: 218.7 kB / 0.7612 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8044, allocations: 345.9 kB / 0.7615 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.8051, allocations: 362.4 kB / 0.7618 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.8059, allocations: 470.2 kB / 0.7623 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.8075, allocations: 0.8351 MB / 0.7631 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8075, allocations: 0 / 0.7631 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002566/0.8101, allocations: 1.11 MB / 0.7642 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.8101, allocations: 8 kB / 0.7642 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8101, allocations: 0 / 0.7642 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.8107, allocations: 88.77 kB / 0.7643 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.8117, allocations: 219.7 kB / 0.7645 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.8142, allocations: 1.64 MB / 0.7661 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.8152, allocations: 110.9 kB / 0.7662 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.8153, allocations: 51.95 kB / 0.7662 GB, free: 2.027 MB / 0.5762 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.0007102/0.816, allocations: 319.9 kB / 0.7666 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.8163, allocations: 104.2 kB / 0.7667 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.8194, allocations: 1.38 MB / 0.768 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8194, allocations: 12 kB / 0.768 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8194, allocations: 3.938 kB / 0.768 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.8194, allocations: 7.969 kB / 0.768 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.8237, allocations: 2.56 MB / 0.7705 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8238, allocations: 0 / 0.7705 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.8245, allocations: 200.6 kB / 0.7707 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.825, allocations: 68.73 kB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.8251, allocations: 39.97 kB / 0.7708 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.8271, allocations: 1.674 MB / 0.7725 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8271, allocations: 0 / 0.7725 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.8296, allocations: 1.171 MB / 0.7736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.8301, allocations: 319.6 kB / 0.7739 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.8303, allocations: 32.59 kB / 0.7739 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.831, allocations: 59.92 kB / 0.774 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8312, allocations: 76.89 kB / 0.7741 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.8312, allocations: 39.98 kB / 0.7741 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007792/0.832, allocations: 0.5732 MB / 0.7747 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.832, allocations: 0 / 0.7747 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001111/0.8332, allocations: 402.7 kB / 0.775 GB, free: 8.754 MB / 0.5919 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.001392/0.8346, allocations: 0.6124 MB / 0.7756 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003216/0.8378, allocations: 1.294 MB / 0.7769 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8378, allocations: 0 / 0.7769 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.8389, allocations: 0.6097 MB / 0.7775 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.8405, allocations: 303.2 kB / 0.7778 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.8455, allocations: 2.365 MB / 0.7801 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.8464, allocations: 1.165 MB / 0.7812 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001148/0.8475, allocations: 296.3 kB / 0.7815 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.8479, allocations: 135.4 kB / 0.7817 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.8479, allocations: 0 / 0.7817 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.03382/0.8817, allocations: 17.79 MB / 0.799 GB, free: 0.5234 MB / 0.6075 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)