Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001447/0.001447, allocations: 112.6 kB / 16.37 MB, free: 6 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.00121/0.00121, allocations: 196 kB / 17.31 MB, free: 5.613 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002953/0.002953, allocations: 284.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9784/0.9784, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 94.45 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1867, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006194/0.1929, allocations: 4.311 MB / 0.6858 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6871/0.8801, allocations: 150.5 MB / 0.8328 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.8817, allocations: 15.94 kB / 0.8328 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.8826, allocations: 180.8 kB / 0.833 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.8851, allocations: 499.5 kB / 0.8335 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.888, allocations: 0.8355 MB / 0.8343 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.8901, allocations: 1.304 MB / 0.8356 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.8912, allocations: 0.6264 MB / 0.8362 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.892, allocations: 474.3 kB / 0.8366 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.8927, allocations: 497.8 kB / 0.8371 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.8929, allocations: 116 kB / 0.8372 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.8941, allocations: 491.6 kB / 0.8377 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.8945, allocations: 295.1 kB / 0.838 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.8951, allocations: 0.5402 MB / 0.8385 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.8973, allocations: 1.615 MB / 0.8401 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8973, allocations: 0 / 0.8401 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.498e-06/0.8973, allocations: 0 / 0.8401 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.8974, allocations: 8 kB / 0.8401 GB, free: 12.03 MB / 0.6075 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.002973/0.9004, allocations: 1.403 MB / 0.8415 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.9004, allocations: 8.031 kB / 0.8415 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.9014, allocations: 187.4 kB / 0.8416 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.9028, allocations: 0.7587 MB / 0.8424 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.9029, allocations: 66.88 kB / 0.8424 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.9031, allocations: 76 kB / 0.8425 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.9047, allocations: 0.9301 MB / 0.8434 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.9047, allocations: 0 / 0.8434 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.9048, allocations: 35.75 kB / 0.8435 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.9048, allocations: 20 kB / 0.8435 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.9067, allocations: 1.112 MB / 0.8446 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.911, allocations: 2.489 MB / 0.847 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.9126, allocations: 0.8839 MB / 0.8479 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.9132, allocations: 309.8 kB / 0.8482 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.9133, allocations: 40.53 kB / 0.8482 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.9142, allocations: 496.3 kB / 0.8487 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.745e-06/0.9142, allocations: 0 / 0.8487 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.003254/0.9175, allocations: 1.19 MB / 0.8498 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.9177, allocations: 188.6 kB / 0.85 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.9186, allocations: 0.6291 MB / 0.8506 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.9187, allocations: 45.7 kB / 0.8507 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.9191, allocations: 392.3 kB / 0.851 GB, free: 496 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.9193, allocations: 256.4 kB / 0.8513 GB, free: 236 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.9197, allocations: 162.4 kB / 0.8514 GB, free: 68 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.92, allocations: 386.8 kB / 0.8518 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.9206, allocations: 269.9 kB / 0.8521 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.9212, allocations: 367.1 kB / 0.8524 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.9224, allocations: 0.5994 MB / 0.853 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9224, allocations: 4 kB / 0.853 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002062/0.9244, allocations: 0.8488 MB / 0.8538 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.9245, allocations: 10.34 kB / 0.8538 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.9245, allocations: 0 / 0.8538 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.9252, allocations: 84.86 kB / 0.8539 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.9258, allocations: 152.3 kB / 0.8541 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.9283, allocations: 1.65 MB / 0.8557 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000778/0.9291, allocations: 91.27 kB / 0.8558 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.9292, allocations: 39.97 kB / 0.8558 GB, free: 11.4 MB / 0.6231 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.0005906/0.9298, allocations: 267.4 kB / 0.8561 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.93, allocations: 79.06 kB / 0.8561 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.9323, allocations: 1.061 MB / 0.8572 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.9323, allocations: 8 kB / 0.8572 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.9323, allocations: 0.6562 kB / 0.8572 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.9324, allocations: 7.922 kB / 0.8572 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.9358, allocations: 1.962 MB / 0.8591 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.9358, allocations: 0 / 0.8591 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.9363, allocations: 139.8 kB / 0.8592 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.9368, allocations: 72.78 kB / 0.8593 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.9369, allocations: 27.97 kB / 0.8593 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.939, allocations: 1.681 MB / 0.861 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.939, allocations: 0 / 0.861 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.9411, allocations: 0.9902 MB / 0.8619 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.9416, allocations: 279.7 kB / 0.8622 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9418, allocations: 16 kB / 0.8622 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.9425, allocations: 63.94 kB / 0.8623 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.9427, allocations: 68.89 kB / 0.8624 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.9427, allocations: 35.98 kB / 0.8624 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006812/0.9434, allocations: 455 kB / 0.8628 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9434, allocations: 0 / 0.8628 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001084/0.9445, allocations: 303.3 kB / 0.8631 GB, free: 3.66 MB / 0.6231 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.001781/0.9463, allocations: 0.598 MB / 0.8637 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.9483, allocations: 0.835 MB / 0.8645 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9483, allocations: 4.188 kB / 0.8645 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.9493, allocations: 0.5081 MB / 0.865 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.9506, allocations: 296.9 kB / 0.8653 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.9551, allocations: 1.732 MB / 0.867 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.9559, allocations: 1.026 MB / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000916/0.9569, allocations: 258.5 kB / 0.8682 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.9572, allocations: 99.39 kB / 0.8683 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.9572, allocations: 0 / 0.8683 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.02955/0.9867, allocations: 14.74 MB / 0.8827 GB, free: 15.88 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)