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.0007773/0.0007773, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005662/0.005662, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9462/0.9462, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004851, allocations: 8.656 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 82.3 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006204/0.2126, allocations: 4.473 MB / 0.5923 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5366/0.7492, allocations: 147 MB / 0.7359 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.7503, allocations: 25.62 kB / 0.7359 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.7509, allocations: 144.7 kB / 0.736 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.7531, allocations: 0.4954 MB / 0.7365 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.7557, allocations: 0.7796 MB / 0.7373 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.7581, allocations: 1.469 MB / 0.7387 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.7596, allocations: 1.004 MB / 0.7397 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7607, allocations: 468 kB / 0.7401 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.7614, allocations: 0.4968 MB / 0.7406 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.7615, allocations: 30.28 kB / 0.7406 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.7626, allocations: 369.2 kB / 0.741 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.7628, allocations: 236.6 kB / 0.7412 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.7634, allocations: 0.5934 MB / 0.7418 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.7657, allocations: 1.964 MB / 0.7437 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.7657, allocations: 8 kB / 0.7437 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7657, allocations: 5.312 kB / 0.7437 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.707e-05/0.7657, allocations: 3.938 kB / 0.7437 GB, free: 9.625 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.003129/0.7689, allocations: 1.459 MB / 0.7452 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.7689, allocations: 9.344 kB / 0.7452 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7701, allocations: 252 kB / 0.7454 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.7714, allocations: 0.8847 MB / 0.7463 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-05/0.7715, allocations: 104.8 kB / 0.7464 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.7717, allocations: 137.5 kB / 0.7465 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.7742, allocations: 1.426 MB / 0.7479 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.7742, allocations: 3.531 kB / 0.7479 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.7743, allocations: 59.16 kB / 0.748 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.7744, allocations: 38 kB / 0.748 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.7767, allocations: 1.527 MB / 0.7495 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/0.7828, allocations: 3.801 MB / 0.7532 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.7844, allocations: 0.9649 MB / 0.7541 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.7851, allocations: 399.7 kB / 0.7545 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/0.7852, allocations: 49.08 kB / 0.7546 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.7863, allocations: 0.5826 MB / 0.7551 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.544e-06/0.7863, allocations: 0 / 0.7551 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003724/0.79, allocations: 1.493 MB / 0.7566 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.7901, allocations: 192.9 kB / 0.7568 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.7912, allocations: 0.7629 MB / 0.7575 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.7913, allocations: 45.7 kB / 0.7576 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.7918, allocations: 0.5504 MB / 0.7581 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.792, allocations: 354.9 kB / 0.7584 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.7922, allocations: 81.67 kB / 0.7585 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7923, allocations: 353.9 kB / 0.7589 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.793, allocations: 362.4 kB / 0.7592 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.7938, allocations: 474.2 kB / 0.7597 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.7953, allocations: 0.8429 MB / 0.7605 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.7953, allocations: 4 kB / 0.7605 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00243/0.7977, allocations: 1.126 MB / 0.7616 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7978, allocations: 11.94 kB / 0.7616 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7978, allocations: 1.188 kB / 0.7616 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.7984, allocations: 88.78 kB / 0.7617 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.7994, allocations: 227.6 kB / 0.7619 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8014, allocations: 1.533 MB / 0.7634 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.8024, allocations: 123.6 kB / 0.7635 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-05/0.8025, allocations: 52.02 kB / 0.7636 GB, free: 7.914 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.0006453/0.8031, allocations: 309.6 kB / 0.7639 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.8033, allocations: 102.7 kB / 0.764 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.8064, allocations: 1.394 MB / 0.7653 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8064, allocations: 12 kB / 0.7653 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8064, allocations: 0 / 0.7653 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.8064, allocations: 11.91 kB / 0.7653 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.8106, allocations: 2.572 MB / 0.7679 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8106, allocations: 0 / 0.7679 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/0.8114, allocations: 203.7 kB / 0.768 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.812, allocations: 84.83 kB / 0.7681 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.812, allocations: 27.98 kB / 0.7682 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.814, allocations: 1.552 MB / 0.7697 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.814, allocations: 3.938 kB / 0.7697 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.8163, allocations: 1.175 MB / 0.7708 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.8169, allocations: 352.4 kB / 0.7712 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.817, allocations: 24 kB / 0.7712 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.8177, allocations: 74.17 kB / 0.7712 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.8179, allocations: 72.89 kB / 0.7713 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.818, allocations: 44.11 kB / 0.7714 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008134/0.8188, allocations: 0.5693 MB / 0.7719 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8188, allocations: 0 / 0.7719 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001178/0.82, allocations: 406.6 kB / 0.7723 GB, free: 14.71 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.001386/0.8214, allocations: 0.6151 MB / 0.7729 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.8235, allocations: 1.04 MB / 0.7739 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8236, allocations: 0 / 0.7739 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.8246, allocations: 0.6135 MB / 0.7745 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8261, allocations: 285.9 kB / 0.7748 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.8314, allocations: 3.05 MB / 0.7778 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.8322, allocations: 1.166 MB / 0.7789 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8333, allocations: 296.4 kB / 0.7792 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.8337, allocations: 135.4 kB / 0.7793 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.8337, allocations: 0 / 0.7793 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.03059/0.8643, allocations: 16.94 MB / 0.7959 GB, free: 6.863 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)