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.009522/0.009522, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.002094/0.002094, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8375/0.8375, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.5813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5353, allocations: 80.2 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006042/0.5414, allocations: 4.079 MB / 0.6636 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2048/0.7462, allocations: 150.5 MB / 0.8106 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.7474, allocations: 19.88 kB / 0.8106 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.7481, allocations: 158.5 kB / 0.8107 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.7499, allocations: 484.4 kB / 0.8112 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.7521, allocations: 0.7959 MB / 0.812 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.7535, allocations: 1.168 MB / 0.8131 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000983/0.7545, allocations: 0.6181 MB / 0.8137 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.7551, allocations: 430.5 kB / 0.8141 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.7557, allocations: 442 kB / 0.8145 GB, free: 7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.7558, allocations: 107.9 kB / 0.8146 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.7569, allocations: 475.6 kB / 0.8151 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.7572, allocations: 267.2 kB / 0.8154 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.7576, allocations: 0.4896 MB / 0.8158 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.7593, allocations: 1.493 MB / 0.8173 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7593, allocations: 3.938 kB / 0.8173 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7593, allocations: 0 / 0.8173 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.7594, allocations: 0 / 0.8173 GB, free: 4.176 MB / 0.6387 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.002369/0.7617, allocations: 1.303 MB / 0.8186 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7618, allocations: 12.03 kB / 0.8186 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/0.7627, allocations: 179.5 kB / 0.8187 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.7638, allocations: 0.7228 MB / 0.8195 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.7639, allocations: 58 kB / 0.8195 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.764, allocations: 76 kB / 0.8196 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.7654, allocations: 0.8598 MB / 0.8204 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.7654, allocations: 0 / 0.8204 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.7655, allocations: 36 kB / 0.8205 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.7655, allocations: 20 kB / 0.8205 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.7672, allocations: 1.054 MB / 0.8215 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.7708, allocations: 2.351 MB / 0.8238 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.7722, allocations: 0.7973 MB / 0.8246 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.7727, allocations: 278.1 kB / 0.8248 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.7728, allocations: 32.58 kB / 0.8249 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007498/0.7735, allocations: 425.6 kB / 0.8253 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.7736, allocations: 0 / 0.8253 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002989/0.7766, allocations: 1.062 MB / 0.8263 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7767, allocations: 196.4 kB / 0.8265 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.7774, allocations: 0.5821 MB / 0.8271 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.7775, allocations: 41.7 kB / 0.8271 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.7778, allocations: 372.2 kB / 0.8275 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.778, allocations: 228.6 kB / 0.8277 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.7783, allocations: 150.5 kB / 0.8278 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7784, allocations: 378.8 kB / 0.8282 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.7789, allocations: 233.9 kB / 0.8284 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.7795, allocations: 326.8 kB / 0.8287 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.7805, allocations: 0.539 MB / 0.8293 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7806, allocations: 0 / 0.8293 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001805/0.7824, allocations: 0.7665 MB / 0.83 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7824, allocations: 8.094 kB / 0.83 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7824, allocations: 0 / 0.83 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.783, allocations: 84.77 kB / 0.8301 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.7837, allocations: 139.8 kB / 0.8302 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.7858, allocations: 1.653 MB / 0.8318 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.7865, allocations: 75.42 kB / 0.8319 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.7865, allocations: 31.98 kB / 0.8319 GB, free: 4.648 MB / 0.6544 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.0003972/0.7869, allocations: 252.5 kB / 0.8322 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.7871, allocations: 79 kB / 0.8323 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.7893, allocations: 0.9548 MB / 0.8332 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.7893, allocations: 8 kB / 0.8332 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7893, allocations: 4 kB / 0.8332 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.7893, allocations: 3.984 kB / 0.8332 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.7924, allocations: 1.833 MB / 0.835 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7924, allocations: 3.938 kB / 0.835 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.793, allocations: 143.7 kB / 0.8351 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.7935, allocations: 68.8 kB / 0.8352 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.7935, allocations: 27.97 kB / 0.8352 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.7955, allocations: 1.67 MB / 0.8369 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7956, allocations: 0 / 0.8369 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.7974, allocations: 0.8951 MB / 0.8377 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.7977, allocations: 251.9 kB / 0.838 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.7979, allocations: 19.92 kB / 0.838 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.7984, allocations: 51.95 kB / 0.838 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7986, allocations: 64.91 kB / 0.8381 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.7986, allocations: 27.98 kB / 0.8381 GB, free: 14.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005888/0.7992, allocations: 423.1 kB / 0.8385 GB, free: 13.63 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7992, allocations: 0 / 0.8385 GB, free: 13.63 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009048/0.8001, allocations: 287.2 kB / 0.8388 GB, free: 13.35 MB / 0.67 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.001447/0.8016, allocations: 0.5953 MB / 0.8394 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.8033, allocations: 0.7434 MB / 0.8401 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8033, allocations: 0 / 0.8401 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.8041, allocations: 488.4 kB / 0.8406 GB, free: 11.71 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8053, allocations: 290 kB / 0.8409 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.8089, allocations: 1.621 MB / 0.8424 GB, free: 9.812 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.8096, allocations: 0.9939 MB / 0.8434 GB, free: 8.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007094/0.8103, allocations: 242 kB / 0.8436 GB, free: 8.555 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.8105, allocations: 95.39 kB / 0.8437 GB, free: 8.461 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/0.8105, allocations: 0 / 0.8437 GB, free: 8.461 MB / 0.67 GB Notification: Performance of Templates: time 0.02282/0.8333, allocations: 13.77 MB / 0.8572 GB, free: 10.85 MB / 0.6856 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)