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.0009511/0.0009511, allocations: 97.33 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.006739/0.006739, allocations: 173.1 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 11.94 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004721/0.1999, allocations: 3.737 MB / 0.5916 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5185/0.7184, allocations: 146.6 MB / 0.7347 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.7191, allocations: 15.62 kB / 0.7348 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.7196, allocations: 139.1 kB / 0.7349 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.7209, allocations: 399.7 kB / 0.7353 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.723, allocations: 0.6957 MB / 0.7359 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.7244, allocations: 1.106 MB / 0.737 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009568/0.7254, allocations: 0.5731 MB / 0.7376 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.726, allocations: 310 kB / 0.7379 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.7265, allocations: 334.4 kB / 0.7382 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.7266, allocations: 21.16 kB / 0.7382 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.7275, allocations: 365.2 kB / 0.7386 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.7277, allocations: 165.7 kB / 0.7387 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.7282, allocations: 417.7 kB / 0.7391 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.7297, allocations: 1.362 MB / 0.7405 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7298, allocations: 0 / 0.7405 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7298, allocations: 0.9375 kB / 0.7405 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7298, allocations: 3.938 kB / 0.7405 GB, free: 12.05 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.002035/0.7318, allocations: 1.127 MB / 0.7416 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.7319, allocations: 11.44 kB / 0.7416 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.7328, allocations: 191.6 kB / 0.7418 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.7337, allocations: 0.7003 MB / 0.7424 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.7338, allocations: 58.59 kB / 0.7425 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7339, allocations: 75.25 kB / 0.7426 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.7354, allocations: 0.8768 MB / 0.7434 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.7355, allocations: 0 / 0.7434 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.7356, allocations: 32.75 kB / 0.7435 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7356, allocations: 23.44 kB / 0.7435 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.7373, allocations: 1.074 MB / 0.7445 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.741, allocations: 2.411 MB / 0.7469 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.7423, allocations: 0.8172 MB / 0.7477 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.7427, allocations: 285 kB / 0.7479 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.7428, allocations: 27.62 kB / 0.748 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/0.7436, allocations: 430.3 kB / 0.7484 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.7436, allocations: 0 / 0.7484 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002812/0.7464, allocations: 1.102 MB / 0.7495 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.7465, allocations: 197.5 kB / 0.7496 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.7472, allocations: 0.5871 MB / 0.7502 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.7473, allocations: 36.48 kB / 0.7503 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.7476, allocations: 376.7 kB / 0.7506 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.7478, allocations: 236.8 kB / 0.7508 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.7479, allocations: 59.97 kB / 0.7509 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.748, allocations: 384.2 kB / 0.7513 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.7485, allocations: 245.3 kB / 0.7515 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.749, allocations: 336 kB / 0.7518 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.75, allocations: 0.5729 MB / 0.7524 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.75, allocations: 7.938 kB / 0.7524 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001726/0.7518, allocations: 0.7864 MB / 0.7532 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.7518, allocations: 10.19 kB / 0.7532 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7518, allocations: 0 / 0.7532 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.7524, allocations: 84.89 kB / 0.7532 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.753, allocations: 151.8 kB / 0.7534 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.7551, allocations: 1.535 MB / 0.7549 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.7558, allocations: 88.94 kB / 0.755 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.7559, allocations: 36.05 kB / 0.755 GB, free: 0.8203 MB / 0.5606 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.0004561/0.7564, allocations: 257.6 kB / 0.7553 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.7565, allocations: 71.16 kB / 0.7553 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.7589, allocations: 1.014 MB / 0.7563 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-05/0.7589, allocations: 8 kB / 0.7563 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.759, allocations: 4 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.759, allocations: 3.984 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.7624, allocations: 1.873 MB / 0.7582 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7624, allocations: 0 / 0.7582 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.763, allocations: 151.8 kB / 0.7583 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.7635, allocations: 80.78 kB / 0.7584 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.7636, allocations: 27.92 kB / 0.7584 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.7655, allocations: 1.54 MB / 0.7599 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7655, allocations: 144 / 0.7599 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.7674, allocations: 0.9335 MB / 0.7608 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.7678, allocations: 267.8 kB / 0.7611 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.7679, allocations: 20 kB / 0.7611 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.7685, allocations: 67.94 kB / 0.7612 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.7687, allocations: 60.91 kB / 0.7612 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.7687, allocations: 39.92 kB / 0.7613 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006279/0.7694, allocations: 419.1 kB / 0.7617 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7694, allocations: 0 / 0.7617 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009507/0.7703, allocations: 295.2 kB / 0.7619 GB, free: 9.469 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.001348/0.7717, allocations: 0.5939 MB / 0.7625 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.7733, allocations: 0.7643 MB / 0.7633 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7734, allocations: 4 kB / 0.7633 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/0.7742, allocations: 0.5006 MB / 0.7638 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7756, allocations: 266.1 kB / 0.764 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.7799, allocations: 2.119 MB / 0.7661 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.7806, allocations: 1.004 MB / 0.7671 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008991/0.7815, allocations: 254.1 kB / 0.7673 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.7817, allocations: 95.39 kB / 0.7674 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.7817, allocations: 0 / 0.7674 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of Templates: time 0.02537/0.8071, allocations: 13.19 MB / 0.7803 GB, free: 7 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)