Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 108 kB / 15.6 MB, free: 132 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.002031/0.002031, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.75 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1981, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006442/0.2045, allocations: 4.13 MB / 0.5884 GB, free: 420 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4849/0.6894, allocations: 150.5 MB / 0.7354 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.6905, allocations: 16.34 kB / 0.7354 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.6914, allocations: 166.2 kB / 0.7355 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.6935, allocations: 482.8 kB / 0.736 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.6958, allocations: 0.7923 MB / 0.7368 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.6982, allocations: 1.184 MB / 0.7379 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.6994, allocations: 0.6036 MB / 0.7385 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.7005, allocations: 436.9 kB / 0.7389 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.7014, allocations: 449.6 kB / 0.7394 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/0.7017, allocations: 105.3 kB / 0.7395 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.703, allocations: 448.8 kB / 0.7399 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.7034, allocations: 265 kB / 0.7401 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.7043, allocations: 0.4996 MB / 0.7406 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.7066, allocations: 1.441 MB / 0.742 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7066, allocations: 0 / 0.742 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7066, allocations: 1.312 kB / 0.742 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.597e-05/0.7067, allocations: 4 kB / 0.742 GB, free: 8.562 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003398/0.7101, allocations: 1.325 MB / 0.7433 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7102, allocations: 10.5 kB / 0.7433 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.7112, allocations: 178.3 kB / 0.7435 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.7124, allocations: 0.7097 MB / 0.7442 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.7125, allocations: 59 kB / 0.7443 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.7126, allocations: 78.88 kB / 0.7443 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7144, allocations: 0.8728 MB / 0.7452 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.7144, allocations: 0.5625 kB / 0.7452 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.7145, allocations: 35.03 kB / 0.7452 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.7145, allocations: 17.72 kB / 0.7452 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.7161, allocations: 1.067 MB / 0.7463 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.72, allocations: 2.383 MB / 0.7486 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.7214, allocations: 0.797 MB / 0.7494 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.7219, allocations: 276.7 kB / 0.7496 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.981e-05/0.722, allocations: 34.33 kB / 0.7497 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009155/0.7229, allocations: 424.7 kB / 0.7501 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 3.837e-06/0.723, allocations: 1.031 kB / 0.7501 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003189/0.7261, allocations: 1.088 MB / 0.7511 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.7263, allocations: 188.6 kB / 0.7513 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.7273, allocations: 0.5861 MB / 0.7519 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.7274, allocations: 37.7 kB / 0.7519 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.7278, allocations: 376.3 kB / 0.7523 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.728, allocations: 248.4 kB / 0.7525 GB, free: 292 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.7282, allocations: 150.5 kB / 0.7527 GB, free: 132 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7284, allocations: 382.8 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.7289, allocations: 237.8 kB / 0.7533 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.7295, allocations: 343.1 kB / 0.7536 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.7306, allocations: 0.5609 MB / 0.7541 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7306, allocations: 4 kB / 0.7541 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001927/0.7326, allocations: 0.7824 MB / 0.7549 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7326, allocations: 7.938 kB / 0.7549 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7326, allocations: 4 kB / 0.7549 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.7332, allocations: 84.89 kB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.7338, allocations: 147.8 kB / 0.7551 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.736, allocations: 1.632 MB / 0.7567 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.7367, allocations: 79.42 kB / 0.7568 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.7368, allocations: 40.03 kB / 0.7568 GB, free: 11.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004789/0.7373, allocations: 245.7 kB / 0.7571 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.7376, allocations: 79 kB / 0.7572 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.7399, allocations: 1.006 MB / 0.7581 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.7399, allocations: 11.98 kB / 0.7582 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7399, allocations: 0 / 0.7582 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7399, allocations: 7.984 kB / 0.7582 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.7432, allocations: 1.854 MB / 0.76 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7432, allocations: 7.938 kB / 0.76 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.7438, allocations: 143.8 kB / 0.7601 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.7443, allocations: 76.78 kB / 0.7602 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.7443, allocations: 19.98 kB / 0.7602 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.7463, allocations: 1.658 MB / 0.7618 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7463, allocations: 0 / 0.7618 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.7482, allocations: 0.9142 MB / 0.7627 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.7487, allocations: 263.7 kB / 0.763 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.7489, allocations: 24.06 kB / 0.763 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.7495, allocations: 53.97 kB / 0.763 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.7496, allocations: 60.92 kB / 0.7631 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.7497, allocations: 35.97 kB / 0.7631 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006175/0.7503, allocations: 423.1 kB / 0.7635 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.32e-07/0.7503, allocations: 0 / 0.7635 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009867/0.7513, allocations: 299.2 kB / 0.7638 GB, free: 4.254 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.001653/0.753, allocations: 0.5924 MB / 0.7644 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.7553, allocations: 0.9554 MB / 0.7653 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7553, allocations: 0 / 0.7653 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.7563, allocations: 0.4892 MB / 0.7658 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.7577, allocations: 298 kB / 0.7661 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.7618, allocations: 1.666 MB / 0.7677 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.7625, allocations: 0.9993 MB / 0.7687 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.7634, allocations: 254.1 kB / 0.7689 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.7636, allocations: 99.39 kB / 0.769 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7636, allocations: 4 kB / 0.769 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.02474/0.7884, allocations: 13.79 MB / 0.7825 GB, free: 1.441 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)