Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.004829/0.004829, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00104/0.00104, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8215/0.8215, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 61.66 kB / 0.5856 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1681, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007787/0.1759, allocations: 4.115 MB / 0.6687 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5788/0.7548, allocations: 150.5 MB / 0.8156 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.7561, allocations: 15.5 kB / 0.8156 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.7569, allocations: 169.6 kB / 0.8158 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.7586, allocations: 490.6 kB / 0.8162 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.7607, allocations: 0.7865 MB / 0.817 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.7622, allocations: 1.192 MB / 0.8182 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.7631, allocations: 0.6062 MB / 0.8188 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.7638, allocations: 443.2 kB / 0.8192 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.7642, allocations: 447.1 kB / 0.8196 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.7644, allocations: 104.3 kB / 0.8197 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/0.7653, allocations: 478.4 kB / 0.8202 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.7656, allocations: 271.8 kB / 0.8204 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.7661, allocations: 0.493 MB / 0.8209 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.768, allocations: 1.473 MB / 0.8223 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.768, allocations: 0 / 0.8223 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.568e-06/0.768, allocations: 7.984 kB / 0.8224 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.328e-05/0.768, allocations: 2.688 kB / 0.8224 GB, free: 5.473 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.002286/0.7703, allocations: 1.316 MB / 0.8236 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7704, allocations: 8.953 kB / 0.8237 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.7712, allocations: 180.7 kB / 0.8238 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.7724, allocations: 0.7298 MB / 0.8245 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.7724, allocations: 58.44 kB / 0.8246 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.7725, allocations: 74.53 kB / 0.8247 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.774, allocations: 0.8637 MB / 0.8255 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.7741, allocations: 0 / 0.8255 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.7741, allocations: 36.41 kB / 0.8255 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.7742, allocations: 24.33 kB / 0.8256 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.7758, allocations: 1.058 MB / 0.8266 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.7793, allocations: 2.344 MB / 0.8289 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7806, allocations: 0.7867 MB / 0.8297 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.7811, allocations: 277 kB / 0.8299 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.7812, allocations: 31.75 kB / 0.83 GB, free: 180 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007487/0.782, allocations: 435.2 kB / 0.8304 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.782, allocations: 0 / 0.8304 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72): time 0.002689/0.7847, allocations: 1.073 MB / 0.8314 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7848, allocations: 190.1 kB / 0.8316 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.7855, allocations: 0.5902 MB / 0.8322 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.7855, allocations: 38.02 kB / 0.8322 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.7858, allocations: 371.6 kB / 0.8326 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.786, allocations: 250.5 kB / 0.8328 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.7863, allocations: 146.4 kB / 0.8329 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7865, allocations: 380.1 kB / 0.8333 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.7869, allocations: 236.5 kB / 0.8335 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.7875, allocations: 330.9 kB / 0.8338 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.7884, allocations: 0.5442 MB / 0.8344 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7884, allocations: 3.938 kB / 0.8344 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001667/0.7901, allocations: 0.7656 MB / 0.8351 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7901, allocations: 6.781 kB / 0.8351 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7901, allocations: 5.641 kB / 0.8351 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.7907, allocations: 75.72 kB / 0.8352 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.7913, allocations: 150.9 kB / 0.8354 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.7933, allocations: 1.642 MB / 0.837 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.7939, allocations: 83.02 kB / 0.837 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.794, allocations: 27.7 kB / 0.8371 GB, free: 10.95 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.0003905/0.7944, allocations: 254.7 kB / 0.8373 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7946, allocations: 80.56 kB / 0.8374 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.7966, allocations: 0.9938 MB / 0.8384 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.7967, allocations: 7.906 kB / 0.8384 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.7967, allocations: 6.391 kB / 0.8384 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.7967, allocations: 3.984 kB / 0.8384 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.7997, allocations: 1.848 MB / 0.8402 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7997, allocations: 0 / 0.8402 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.8003, allocations: 146.7 kB / 0.8403 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.8007, allocations: 74.55 kB / 0.8404 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.8008, allocations: 22.7 kB / 0.8404 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.8026, allocations: 1.662 MB / 0.842 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8026, allocations: 0 / 0.842 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.8044, allocations: 0.9198 MB / 0.8429 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.8048, allocations: 256.7 kB / 0.8432 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.8049, allocations: 21.22 kB / 0.8432 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.8054, allocations: 53.33 kB / 0.8432 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8055, allocations: 59.16 kB / 0.8433 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.8056, allocations: 31.52 kB / 0.8433 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005332/0.8062, allocations: 430.3 kB / 0.8437 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8062, allocations: 0 / 0.8437 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000882/0.807, allocations: 284.1 kB / 0.844 GB, free: 6.02 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.001414/0.8085, allocations: 0.6044 MB / 0.8446 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.81, allocations: 0.7533 MB / 0.8453 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.81, allocations: 0 / 0.8453 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008961/0.8109, allocations: 0.491 MB / 0.8458 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8119, allocations: 286.8 kB / 0.8461 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.8153, allocations: 1.638 MB / 0.8477 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.8161, allocations: 0.9954 MB / 0.8487 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007079/0.8168, allocations: 258.1 kB / 0.8489 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.817, allocations: 103.3 kB / 0.849 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.817, allocations: 0 / 0.849 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.02531/0.8423, allocations: 13.93 MB / 0.8626 GB, free: 3.883 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)