Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008106/0.008106, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.001918/0.001918, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.856/0.856, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 60.38 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1902, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007365/0.1976, allocations: 4.128 MB / 0.6637 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6571/0.8547, allocations: 150.5 MB / 0.8106 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.8559, allocations: 19.69 kB / 0.8107 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.8564, allocations: 165.3 kB / 0.8108 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.858, allocations: 490.5 kB / 0.8113 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.8601, allocations: 0.8036 MB / 0.8121 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.8615, allocations: 1.196 MB / 0.8132 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.8625, allocations: 0.6071 MB / 0.8138 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.8632, allocations: 445.8 kB / 0.8143 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.8637, allocations: 449.5 kB / 0.8147 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.8638, allocations: 103.8 kB / 0.8148 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.8649, allocations: 474 kB / 0.8152 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.8652, allocations: 271.3 kB / 0.8155 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.8656, allocations: 0.4892 MB / 0.816 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.8672, allocations: 1.486 MB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.8673, allocations: 3.312 kB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8673, allocations: 4 kB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.8673, allocations: 0 / 0.8174 GB, free: 10.04 MB / 0.5919 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.00224/0.8695, allocations: 1.336 MB / 0.8187 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.8696, allocations: 10.34 kB / 0.8187 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009377/0.8705, allocations: 175.7 kB / 0.8189 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.8716, allocations: 0.7286 MB / 0.8196 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.8717, allocations: 57.28 kB / 0.8197 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.8718, allocations: 76.31 kB / 0.8198 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.8733, allocations: 0.8717 MB / 0.8206 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.8733, allocations: 0 / 0.8206 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.855e-05/0.8734, allocations: 33.44 kB / 0.8206 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.8735, allocations: 18.56 kB / 0.8207 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.8752, allocations: 1.064 MB / 0.8217 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.8789, allocations: 2.352 MB / 0.824 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.8802, allocations: 0.796 MB / 0.8248 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.8807, allocations: 283.2 kB / 0.825 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.8808, allocations: 34.17 kB / 0.8251 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007912/0.8816, allocations: 430.5 kB / 0.8255 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.013e-06/0.8816, allocations: 0 / 0.8255 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002829/0.8845, allocations: 1.083 MB / 0.8265 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8846, allocations: 190.3 kB / 0.8267 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007077/0.8853, allocations: 0.5817 MB / 0.8273 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.8854, allocations: 42.92 kB / 0.8273 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.8856, allocations: 382.9 kB / 0.8277 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.8858, allocations: 237.2 kB / 0.8279 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.8861, allocations: 150.9 kB / 0.8281 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.8863, allocations: 382.3 kB / 0.8284 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.8867, allocations: 234.9 kB / 0.8287 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.8873, allocations: 331.7 kB / 0.829 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.8883, allocations: 0.5714 MB / 0.8295 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8883, allocations: 0 / 0.8295 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001736/0.89, allocations: 0.786 MB / 0.8303 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.89, allocations: 4.281 kB / 0.8303 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8901, allocations: 5.766 kB / 0.8303 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.8906, allocations: 84.52 kB / 0.8304 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.8912, allocations: 148.7 kB / 0.8305 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.8933, allocations: 1.64 MB / 0.8321 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.894, allocations: 78.39 kB / 0.8322 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.894, allocations: 34.55 kB / 0.8322 GB, free: 15.71 MB / 0.6075 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.0003532/0.8944, allocations: 257.4 kB / 0.8325 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8945, allocations: 80.56 kB / 0.8326 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.8966, allocations: 1.001 MB / 0.8335 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.8967, allocations: 10.12 kB / 0.8335 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.8967, allocations: 0 / 0.8335 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.8967, allocations: 3.984 kB / 0.8335 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.8996, allocations: 1.863 MB / 0.8354 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.8996, allocations: 3.938 kB / 0.8354 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.9002, allocations: 142.5 kB / 0.8355 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.9006, allocations: 78.59 kB / 0.8356 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.9007, allocations: 23.45 kB / 0.8356 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.9025, allocations: 1.649 MB / 0.8372 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9025, allocations: 0 / 0.8372 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.9042, allocations: 0.9246 MB / 0.8381 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.9045, allocations: 263.3 kB / 0.8384 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.9046, allocations: 16.41 kB / 0.8384 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.9052, allocations: 53.72 kB / 0.8384 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.9054, allocations: 67.33 kB / 0.8385 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.9055, allocations: 28.11 kB / 0.8385 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004699/0.9059, allocations: 429.7 kB / 0.8389 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.9059, allocations: 0 / 0.8389 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007707/0.9067, allocations: 294.8 kB / 0.8392 GB, free: 10.78 MB / 0.6075 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.00127/0.908, allocations: 0.5856 MB / 0.8398 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.9095, allocations: 0.7679 MB / 0.8405 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9096, allocations: 2.031 kB / 0.8405 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.9104, allocations: 492.5 kB / 0.841 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.9116, allocations: 296.9 kB / 0.8413 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.9152, allocations: 1.663 MB / 0.8429 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.9158, allocations: 1.003 MB / 0.8439 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000721/0.9165, allocations: 246.2 kB / 0.8441 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.9168, allocations: 99.38 kB / 0.8442 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.9168, allocations: 4 kB / 0.8442 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.02734/0.9441, allocations: 13.94 MB / 0.8578 GB, free: 9.57 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)