Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007482/0.007481, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001358/0.001359, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.451/1.451, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8219/0.8219, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.2 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005567/0.1953, allocations: 4.111 MB / 0.6637 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7767/0.972, allocations: 150.5 MB / 0.8106 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.9731, allocations: 19.78 kB / 0.8106 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.9737, allocations: 165 kB / 0.8108 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.9754, allocations: 496.4 kB / 0.8113 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.9774, allocations: 0.7926 MB / 0.812 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.9788, allocations: 1.187 MB / 0.8132 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.9799, allocations: 0.6082 MB / 0.8138 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.9808, allocations: 442.5 kB / 0.8142 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.9814, allocations: 447.8 kB / 0.8146 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.9816, allocations: 102.4 kB / 0.8147 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.9828, allocations: 478.8 kB / 0.8152 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.983, allocations: 268.8 kB / 0.8155 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.9835, allocations: 0.4899 MB / 0.8159 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.9856, allocations: 1.472 MB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.9856, allocations: 5.812 kB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9856, allocations: 4 kB / 0.8174 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.9856, 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002645/0.9883, allocations: 1.32 MB / 0.8187 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/0.9884, allocations: 8.094 kB / 0.8187 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.9896, allocations: 178.3 kB / 0.8188 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.9913, allocations: 0.7282 MB / 0.8196 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.9914, allocations: 61.34 kB / 0.8196 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.9916, allocations: 78.19 kB / 0.8197 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.9935, allocations: 0.8624 MB / 0.8205 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.9936, allocations: 0 / 0.8205 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.9937, allocations: 34.12 kB / 0.8206 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.9937, allocations: 17.44 kB / 0.8206 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.9955, allocations: 1.071 MB / 0.8216 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.9997, allocations: 2.349 MB / 0.8239 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.001, allocations: 0.7894 MB / 0.8247 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/1.002, allocations: 276.6 kB / 0.825 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/1.002, allocations: 28.17 kB / 0.825 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008642/1.003, allocations: 434.4 kB / 0.8254 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/1.003, allocations: 0 / 0.8254 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002944/1.006, allocations: 1.066 MB / 0.8264 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.006, allocations: 190.5 kB / 0.8266 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/1.007, allocations: 0.5899 MB / 0.8272 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/1.007, allocations: 42.33 kB / 0.8272 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/1.007, allocations: 367.4 kB / 0.8276 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/1.007, allocations: 250.4 kB / 0.8278 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/1.008, allocations: 149.4 kB / 0.828 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.008, allocations: 384.6 kB / 0.8283 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/1.008, allocations: 236.3 kB / 0.8286 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/1.009, allocations: 316.8 kB / 0.8289 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.01, allocations: 0.5514 MB / 0.8294 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.01, allocations: 0 / 0.8294 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002028/1.012, allocations: 0.7688 MB / 0.8302 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.012, allocations: 5.281 kB / 0.8302 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.012, allocations: 10.34 kB / 0.8302 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/1.013, allocations: 78.72 kB / 0.8302 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/1.013, allocations: 148.3 kB / 0.8304 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.016, allocations: 1.628 MB / 0.832 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/1.017, allocations: 80.59 kB / 0.8321 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/1.017, allocations: 35.59 kB / 0.8321 GB, free: 15.8 MB / 0.6075 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 (83): * Single equations (assignments): 82 * 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.0004947/1.017, allocations: 251.4 kB / 0.8323 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.017, allocations: 82.23 kB / 0.8324 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/1.02, allocations: 0.9919 MB / 0.8334 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.02, allocations: 11.88 kB / 0.8334 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.02, allocations: 0 / 0.8334 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.02, allocations: 7.922 kB / 0.8334 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.023, allocations: 1.854 MB / 0.8352 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.023, allocations: 0 / 0.8352 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/1.023, allocations: 146.9 kB / 0.8353 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/1.024, allocations: 82.41 kB / 0.8354 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/1.024, allocations: 19.77 kB / 0.8354 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.026, allocations: 1.657 MB / 0.8371 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/1.026, allocations: 0 / 0.8371 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/1.028, allocations: 0.9116 MB / 0.8379 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/1.028, allocations: 253.5 kB / 0.8382 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.028, allocations: 20.25 kB / 0.8382 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/1.029, allocations: 53.34 kB / 0.8383 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.029, allocations: 67.09 kB / 0.8383 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.029, allocations: 28.61 kB / 0.8384 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005448/1.03, allocations: 429.3 kB / 0.8388 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/1.03, allocations: 0 / 0.8388 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009726/1.031, allocations: 288 kB / 0.839 GB, free: 10.89 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 (86): * Single equations (assignments): 83 * 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.001418/1.032, allocations: 0.5985 MB / 0.8396 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.034, allocations: 0.7648 MB / 0.8404 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.034, allocations: 0 / 0.8404 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/1.035, allocations: 499.5 kB / 0.8408 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.036, allocations: 292 kB / 0.8411 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/1.039, allocations: 1.638 MB / 0.8427 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/1.04, allocations: 1.004 MB / 0.8437 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007277/1.041, allocations: 253.8 kB / 0.8439 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.041, allocations: 103.4 kB / 0.844 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/1.041, allocations: 0 / 0.844 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.02461/1.066, allocations: 13.93 MB / 0.8576 GB, free: 9.785 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)