Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, 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.001309/0.001309, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 56.56 kB / 0.5011 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4531, allocations: 80.2 MB / 0.5794 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007364/0.4605, allocations: 4.093 MB / 0.5834 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1813/0.6418, allocations: 148.1 MB / 0.7281 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.6429, allocations: 11.94 kB / 0.7281 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.6437, allocations: 135 kB / 0.7282 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.6455, allocations: 397 kB / 0.7286 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.6476, allocations: 0.6869 MB / 0.7293 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.6489, allocations: 1.09 MB / 0.7303 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008542/0.6498, allocations: 0.6055 MB / 0.7309 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.6503, allocations: 354.6 kB / 0.7313 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.6509, allocations: 427.6 kB / 0.7317 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.651, allocations: 52 kB / 0.7317 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.652, allocations: 395.7 kB / 0.7321 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.6522, allocations: 215.1 kB / 0.7323 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.6526, allocations: 445.4 kB / 0.7327 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.6541, allocations: 1.41 MB / 0.7341 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6541, allocations: 0 / 0.7341 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6541, allocations: 0 / 0.7341 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.6541, allocations: 0 / 0.7341 GB, free: 3.012 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002415/0.6566, allocations: 1.311 MB / 0.7354 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6566, allocations: 8.031 kB / 0.7354 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.6575, allocations: 179.5 kB / 0.7356 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.6585, allocations: 0.6994 MB / 0.7362 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.6585, allocations: 58 kB / 0.7363 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6586, allocations: 80 kB / 0.7364 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.66, allocations: 0.856 MB / 0.7372 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.66, allocations: 0 / 0.7372 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/0.6601, allocations: 36 kB / 0.7372 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6601, allocations: 24 kB / 0.7373 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6618, allocations: 1.054 MB / 0.7383 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.6654, allocations: 2.39 MB / 0.7406 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.6668, allocations: 0.7968 MB / 0.7414 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.6672, allocations: 270.4 kB / 0.7417 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.6673, allocations: 32.58 kB / 0.7417 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/0.6681, allocations: 421.7 kB / 0.7421 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.205e-06/0.6681, allocations: 0 / 0.7421 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002923/0.6711, allocations: 1.066 MB / 0.7431 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.6712, allocations: 200.4 kB / 0.7433 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.6718, allocations: 0.5783 MB / 0.7439 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.6719, allocations: 41.7 kB / 0.7439 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.6722, allocations: 364.3 kB / 0.7443 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.6724, allocations: 240.6 kB / 0.7445 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.6726, allocations: 146.5 kB / 0.7447 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6727, allocations: 378.8 kB / 0.745 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.6732, allocations: 233.9 kB / 0.7452 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.6737, allocations: 326.8 kB / 0.7456 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.6747, allocations: 0.5468 MB / 0.7461 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6747, allocations: 0 / 0.7461 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001754/0.6765, allocations: 0.7626 MB / 0.7468 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6765, allocations: 12.09 kB / 0.7468 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6765, allocations: 0 / 0.7468 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.6772, allocations: 80.77 kB / 0.7469 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.6777, allocations: 143.8 kB / 0.7471 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6798, allocations: 1.528 MB / 0.7485 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.6804, allocations: 84.7 kB / 0.7486 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.6804, allocations: 31.97 kB / 0.7487 GB, free: 3.57 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 (81): * Single equations (assignments): 80 * 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.0003705/0.6808, allocations: 251.2 kB / 0.7489 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.681, allocations: 75.06 kB / 0.749 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.6831, allocations: 0.9626 MB / 0.7499 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6832, allocations: 8 kB / 0.7499 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6832, allocations: 3.938 kB / 0.7499 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6832, allocations: 3.984 kB / 0.7499 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.6862, allocations: 1.836 MB / 0.7517 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6862, allocations: 4 kB / 0.7517 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.6867, allocations: 139.8 kB / 0.7519 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.6873, allocations: 80.77 kB / 0.7519 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.6873, allocations: 23.98 kB / 0.752 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.6892, allocations: 1.555 MB / 0.7535 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6892, allocations: 0 / 0.7535 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.691, allocations: 0.8947 MB / 0.7543 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.6914, allocations: 255.8 kB / 0.7546 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6915, allocations: 19.92 kB / 0.7546 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.6921, allocations: 47.95 kB / 0.7547 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.6922, allocations: 64.84 kB / 0.7547 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.6923, allocations: 27.98 kB / 0.7547 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004977/0.6928, allocations: 423.1 kB / 0.7551 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6928, allocations: 4 kB / 0.7552 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008068/0.6936, allocations: 287.3 kB / 0.7554 GB, free: 12.38 MB / 0.5919 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 (81): * Single equations (assignments): 78 * 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.001366/0.695, allocations: 0.6011 MB / 0.756 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.6965, allocations: 0.7512 MB / 0.7567 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6965, allocations: 0 / 0.7567 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.6974, allocations: 480.3 kB / 0.7572 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6986, allocations: 255.5 kB / 0.7574 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.7024, allocations: 2.007 MB / 0.7594 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.703, allocations: 1 MB / 0.7604 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009012/0.7039, allocations: 246 kB / 0.7606 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.7042, allocations: 95.39 kB / 0.7607 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.7042, allocations: 3.938 kB / 0.7607 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of Templates: time 0.02332/0.7275, allocations: 13.11 MB / 0.7735 GB, free: 10.15 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)