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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6833/0.6833, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 64.22 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.132, allocations: 80.21 MB / 0.5801 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005178/0.1372, allocations: 4.108 MB / 0.5841 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3598/0.497, allocations: 150.5 MB / 0.731 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006069/0.4977, allocations: 19.97 kB / 0.7311 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.4982, allocations: 171.2 kB / 0.7312 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.4998, allocations: 480.8 kB / 0.7317 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.5015, allocations: 0.7833 MB / 0.7325 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.5028, allocations: 1.183 MB / 0.7336 GB, free: 148 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008696/0.5037, allocations: 0.6059 MB / 0.7342 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006381/0.5043, allocations: 432.9 kB / 0.7346 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006801/0.505, allocations: 449.6 kB / 0.735 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.5052, allocations: 101.9 kB / 0.7351 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.506, allocations: 446.1 kB / 0.7356 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.5063, allocations: 277.4 kB / 0.7358 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.5069, allocations: 497.2 kB / 0.7363 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5083, allocations: 1.449 MB / 0.7377 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5083, allocations: 0 / 0.7377 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5083, allocations: 0 / 0.7377 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.5083, allocations: 0 / 0.7377 GB, free: 14.15 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001739/0.5101, allocations: 1.322 MB / 0.739 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.5101, allocations: 7.594 kB / 0.739 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.5109, allocations: 180.6 kB / 0.7392 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/0.5117, allocations: 0.7043 MB / 0.7399 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.5118, allocations: 57.34 kB / 0.7399 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.5119, allocations: 75.22 kB / 0.74 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.5131, allocations: 0.8667 MB / 0.7408 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.5131, allocations: 0 / 0.7408 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.5132, allocations: 36.25 kB / 0.7409 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5132, allocations: 19.25 kB / 0.7409 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.5147, allocations: 1.067 MB / 0.7419 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.5177, allocations: 2.369 MB / 0.7443 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5188, allocations: 0.7927 MB / 0.745 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.5192, allocations: 281.2 kB / 0.7453 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.5193, allocations: 29.73 kB / 0.7453 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/0.5201, allocations: 428.2 kB / 0.7457 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/0.5201, allocations: 0 / 0.7457 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002654/0.5228, allocations: 1.075 MB / 0.7468 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.5229, allocations: 188.6 kB / 0.747 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.5235, allocations: 0.5899 MB / 0.7475 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.5236, allocations: 49.69 kB / 0.7476 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.5238, allocations: 368.3 kB / 0.7479 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.524, allocations: 248.4 kB / 0.7482 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.5242, allocations: 146.5 kB / 0.7483 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5243, allocations: 382.8 kB / 0.7487 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.5247, allocations: 229.9 kB / 0.7489 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.5253, allocations: 330.8 kB / 0.7492 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.5262, allocations: 0.5472 MB / 0.7498 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5262, allocations: 4 kB / 0.7498 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00163/0.5279, allocations: 0.7665 MB / 0.7505 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5279, allocations: 9.969 kB / 0.7505 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5279, allocations: 0 / 0.7505 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.5284, allocations: 84.86 kB / 0.7506 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.529, allocations: 143.8 kB / 0.7507 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5309, allocations: 1.624 MB / 0.7523 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.5315, allocations: 80.36 kB / 0.7524 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.5315, allocations: 36.05 kB / 0.7524 GB, free: 1.918 MB / 0.5606 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.0003061/0.5319, allocations: 261.6 kB / 0.7527 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.532, allocations: 75.09 kB / 0.7527 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.534, allocations: 0.9916 MB / 0.7537 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.534, allocations: 8 kB / 0.7537 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5341, allocations: 7.938 kB / 0.7537 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.5341, allocations: 3.984 kB / 0.7537 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.5368, allocations: 1.85 MB / 0.7555 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5368, allocations: 4 kB / 0.7555 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.5373, allocations: 151.3 kB / 0.7557 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.5377, allocations: 72.78 kB / 0.7558 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.5378, allocations: 23.98 kB / 0.7558 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.5394, allocations: 1.658 MB / 0.7574 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5394, allocations: 0 / 0.7574 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.541, allocations: 0.914 MB / 0.7583 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.5413, allocations: 255.8 kB / 0.7585 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.5414, allocations: 19.94 kB / 0.7586 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.5419, allocations: 56.59 kB / 0.7586 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.542, allocations: 64.91 kB / 0.7587 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.5421, allocations: 27.98 kB / 0.7587 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004346/0.5425, allocations: 431 kB / 0.7591 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5425, allocations: 0 / 0.7591 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006959/0.5432, allocations: 291.3 kB / 0.7594 GB, free: 10.54 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 (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.001121/0.5444, allocations: 0.5992 MB / 0.76 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.5462, allocations: 0.946 MB / 0.7609 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5462, allocations: 0 / 0.7609 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.547, allocations: 0.4887 MB / 0.7614 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.548, allocations: 283.2 kB / 0.7616 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.5511, allocations: 1.663 MB / 0.7633 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.5516, allocations: 0.9954 MB / 0.7642 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006561/0.5523, allocations: 258.1 kB / 0.7645 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.5525, allocations: 99.33 kB / 0.7646 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5525, allocations: 4 kB / 0.7646 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of Templates: time 0.01933/0.5718, allocations: 13.79 MB / 0.7781 GB, free: 7.77 MB / 0.5919 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)