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.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002151/0.002151, allocations: 192 kB / 16.14 MB, free: 6.691 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.361/1.361, allocations: 222.9 MB / 239.8 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 1.007/1.007, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.72 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1906, allocations: 80.93 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005781/0.1964, allocations: 4.173 MB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5007/0.6971, allocations: 148.3 MB / 0.7326 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.698, allocations: 18.69 kB / 0.7327 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.6986, allocations: 132.8 kB / 0.7328 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.7001, allocations: 406.3 kB / 0.7332 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7018, allocations: 0.6909 MB / 0.7339 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.7031, allocations: 1.128 MB / 0.735 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.704, allocations: 0.6019 MB / 0.7355 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.7048, allocations: 385.8 kB / 0.7359 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.7053, allocations: 427.3 kB / 0.7363 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.7054, allocations: 60.61 kB / 0.7364 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.7064, allocations: 397.5 kB / 0.7368 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.7067, allocations: 221 kB / 0.737 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.7071, allocations: 473.9 kB / 0.7374 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.7085, allocations: 1.411 MB / 0.7388 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7085, allocations: 0 / 0.7388 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7085, allocations: 0 / 0.7388 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7085, allocations: 0 / 0.7388 GB, free: 10.91 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002296/0.7108, allocations: 1.347 MB / 0.7401 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7109, allocations: 8.062 kB / 0.7401 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.7118, allocations: 179.8 kB / 0.7403 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/0.7128, allocations: 0.711 MB / 0.741 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.7128, allocations: 63.41 kB / 0.741 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.7129, allocations: 75.88 kB / 0.7411 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.7144, allocations: 0.8853 MB / 0.742 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.7144, allocations: 0 / 0.742 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.7145, allocations: 40.25 kB / 0.742 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.7145, allocations: 20.62 kB / 0.742 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.7162, allocations: 1.096 MB / 0.7431 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.7202, allocations: 2.498 MB / 0.7456 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.7215, allocations: 0.731 MB / 0.7463 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.722, allocations: 289.2 kB / 0.7465 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.7221, allocations: 34.56 kB / 0.7466 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008324/0.7229, allocations: 443.2 kB / 0.747 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.294e-06/0.7229, allocations: 0 / 0.747 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003162/0.7261, allocations: 1.115 MB / 0.7481 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7262, allocations: 188.6 kB / 0.7483 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.727, allocations: 0.6018 MB / 0.7489 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/0.7271, allocations: 45.69 kB / 0.7489 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.7274, allocations: 380.3 kB / 0.7493 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.7277, allocations: 248.3 kB / 0.7495 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.7279, allocations: 154.5 kB / 0.7496 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7281, allocations: 386.8 kB / 0.75 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.7286, allocations: 245.9 kB / 0.7502 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.7291, allocations: 351 kB / 0.7506 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7302, allocations: 0.5877 MB / 0.7512 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7302, allocations: 0 / 0.7512 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00192/0.7321, allocations: 0.8175 MB / 0.752 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.7322, allocations: 8 kB / 0.752 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7322, allocations: 0 / 0.752 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.7328, allocations: 84.83 kB / 0.752 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.7335, allocations: 155.7 kB / 0.7522 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.7355, allocations: 1.526 MB / 0.7537 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.7363, allocations: 83.23 kB / 0.7538 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.7363, allocations: 35.97 kB / 0.7538 GB, free: 14.5 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 (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.0005125/0.7369, allocations: 253.6 kB / 0.754 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.737, allocations: 83.12 kB / 0.7541 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.7394, allocations: 1.03 MB / 0.7551 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.7394, allocations: 8 kB / 0.7551 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7394, allocations: 2.438 kB / 0.7551 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7395, allocations: 3.984 kB / 0.7551 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7427, allocations: 1.876 MB / 0.757 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.7427, allocations: 4 kB / 0.757 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.7433, allocations: 143.8 kB / 0.7571 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.7438, allocations: 88.75 kB / 0.7572 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.7439, allocations: 23.92 kB / 0.7572 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.7458, allocations: 1.548 MB / 0.7587 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7458, allocations: 0 / 0.7587 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7477, allocations: 0.9336 MB / 0.7596 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.7481, allocations: 255.8 kB / 0.7599 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.7482, allocations: 16 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.7488, allocations: 55.94 kB / 0.76 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.749, allocations: 64.91 kB / 0.76 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.749, allocations: 31.92 kB / 0.76 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005608/0.7496, allocations: 443 kB / 0.7605 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7496, allocations: 0 / 0.7605 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008938/0.7505, allocations: 295.2 kB / 0.7607 GB, free: 7.125 MB / 0.5762 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.001388/0.7519, allocations: 0.599 MB / 0.7613 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.7535, allocations: 0.7841 MB / 0.7621 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7536, allocations: 4.188 kB / 0.7621 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.7544, allocations: 496.3 kB / 0.7626 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7556, allocations: 265 kB / 0.7628 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.7596, allocations: 2.093 MB / 0.7649 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.7603, allocations: 1.004 MB / 0.7659 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008448/0.7611, allocations: 256.5 kB / 0.7661 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.7614, allocations: 103.4 kB / 0.7662 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.7614, allocations: 0 / 0.7662 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of Templates: time 0.0232/0.7846, allocations: 13.56 MB / 0.7794 GB, free: 4.281 MB / 0.5919 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)