Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009248/0.0009249, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.0009461/0.0009461, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7753/0.7753, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3717, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006156/0.3779, allocations: 4.803 MB / 0.5719 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.5401, allocations: 150.6 MB / 0.7189 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5412, allocations: 15.94 kB / 0.719 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.5418, allocations: 194.1 kB / 0.7191 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.5436, allocations: 0.5417 MB / 0.7197 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.5455, allocations: 0.8339 MB / 0.7205 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.5468, allocations: 1.37 MB / 0.7218 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.5476, allocations: 0.5947 MB / 0.7224 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.5482, allocations: 482.3 kB / 0.7229 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.5487, allocations: 0.5018 MB / 0.7234 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.5488, allocations: 120 kB / 0.7235 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.5497, allocations: 459.6 kB / 0.7239 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5499, allocations: 299 kB / 0.7242 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.5503, allocations: 0.5558 MB / 0.7247 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.5518, allocations: 1.605 MB / 0.7263 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5519, allocations: 3.938 kB / 0.7263 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5519, allocations: 0 / 0.7263 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5519, allocations: 0 / 0.7263 GB, free: 7.309 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002186/0.5541, allocations: 1.418 MB / 0.7277 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5541, allocations: 8.625 kB / 0.7277 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.555, allocations: 183.4 kB / 0.7279 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.5559, allocations: 0.7344 MB / 0.7286 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.5559, allocations: 66 kB / 0.7287 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.556, allocations: 83.98 kB / 0.7287 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5574, allocations: 0.9183 MB / 0.7296 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5574, allocations: 0 / 0.7296 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.5575, allocations: 40 kB / 0.7297 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5575, allocations: 20 kB / 0.7297 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.5591, allocations: 1.108 MB / 0.7308 GB, free: 2.605 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.5625, allocations: 2.732 MB / 0.7334 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.5639, allocations: 0.887 MB / 0.7343 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.5644, allocations: 307.7 kB / 0.7346 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.741e-05/0.5645, allocations: 28.62 kB / 0.7346 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.5653, allocations: 0.4952 MB / 0.7351 GB, free: 14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.114e-06/0.5653, allocations: 0 / 0.7351 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002816/0.5682, allocations: 1.186 MB / 0.7363 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.5683, allocations: 192.6 kB / 0.7365 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.5689, allocations: 0.6252 MB / 0.7371 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.569, allocations: 45.7 kB / 0.7371 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5693, allocations: 388.4 kB / 0.7375 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5694, allocations: 252.4 kB / 0.7377 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.5697, allocations: 170.4 kB / 0.7379 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5698, allocations: 390.7 kB / 0.7383 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.5703, allocations: 265.9 kB / 0.7385 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.5709, allocations: 359.1 kB / 0.7388 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.5719, allocations: 0.6072 MB / 0.7394 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5719, allocations: 0 / 0.7394 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001764/0.5736, allocations: 0.8565 MB / 0.7403 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5737, allocations: 4 kB / 0.7403 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5737, allocations: 0 / 0.7403 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.5742, allocations: 88.8 kB / 0.7404 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.5748, allocations: 163.7 kB / 0.7405 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5767, allocations: 1.646 MB / 0.7421 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.5774, allocations: 87.28 kB / 0.7422 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.5775, allocations: 39.95 kB / 0.7422 GB, free: 6.387 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004059/0.5779, allocations: 279.6 kB / 0.7425 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.5781, allocations: 75.06 kB / 0.7426 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.5804, allocations: 1.069 MB / 0.7436 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5805, allocations: 8 kB / 0.7436 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5805, allocations: 7.938 kB / 0.7436 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.5805, allocations: 3.984 kB / 0.7437 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.5839, allocations: 1.958 MB / 0.7456 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5839, allocations: 0 / 0.7456 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.5844, allocations: 143.8 kB / 0.7457 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.5848, allocations: 72.73 kB / 0.7458 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.5849, allocations: 27.97 kB / 0.7458 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.587, allocations: 1.666 MB / 0.7474 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.587, allocations: 3.984 kB / 0.7474 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3268/0.9138, allocations: 0.9836 MB / 0.7484 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/0.9146, allocations: 271.2 kB / 0.7486 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.9148, allocations: 21.67 kB / 0.7487 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.9155, allocations: 64.38 kB / 0.7487 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.9157, allocations: 70.75 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.9158, allocations: 36.44 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007389/0.9166, allocations: 454.2 kB / 0.7493 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9166, allocations: 0 / 0.7493 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001223/0.9178, allocations: 320.6 kB / 0.7496 GB, free: 170.6 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001515/0.9193, allocations: 0.5973 MB / 0.7502 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.9223, allocations: 1.032 MB / 0.7512 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9223, allocations: 0.6562 kB / 0.7512 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.9235, allocations: 0.52 MB / 0.7517 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.9251, allocations: 312.8 kB / 0.752 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.9288, allocations: 1.645 MB / 0.7536 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.9296, allocations: 1.022 MB / 0.7546 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00109/0.9307, allocations: 257.9 kB / 0.7548 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.931, allocations: 108.6 kB / 0.7549 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.931, allocations: 0 / 0.7549 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02973/0.9608, allocations: 15.15 MB / 0.7697 GB, free: 162.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)