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.001705/0.001705, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001579/0.001579, allocations: 189.1 kB / 16.25 MB, free: 6.152 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 290.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.002731, allocations: 94.78 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1856, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007195/0.1928, allocations: 4.825 MB / 0.6977 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4879/0.6808, allocations: 148.4 MB / 0.8426 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.6816, allocations: 18.06 kB / 0.8426 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.6822, allocations: 151.8 kB / 0.8427 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.6839, allocations: 489.8 kB / 0.8432 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.6857, allocations: 0.7464 MB / 0.8439 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.6872, allocations: 1.376 MB / 0.8453 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.6881, allocations: 0.5949 MB / 0.8458 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.6887, allocations: 491.1 kB / 0.8463 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.6893, allocations: 0.4944 MB / 0.8468 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6894, allocations: 117.9 kB / 0.8469 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.6902, allocations: 465.6 kB / 0.8474 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.6905, allocations: 291.5 kB / 0.8476 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.691, allocations: 0.5633 MB / 0.8482 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.6927, allocations: 1.6 MB / 0.8497 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6927, allocations: 0 / 0.8497 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6927, allocations: 0 / 0.8497 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6927, allocations: 0 / 0.8497 GB, free: 5.051 MB / 0.5762 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.002511/0.6952, allocations: 1.426 MB / 0.8511 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6953, allocations: 9.219 kB / 0.8511 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.6962, allocations: 188 kB / 0.8513 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6973, allocations: 0.7344 MB / 0.852 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.6973, allocations: 58.69 kB / 0.8521 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6974, allocations: 87.62 kB / 0.8522 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.699, allocations: 0.9147 MB / 0.8531 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.699, allocations: 2.406 kB / 0.8531 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.6991, allocations: 35.8 kB / 0.8531 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.6991, allocations: 23.75 kB / 0.8531 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.7008, allocations: 1.107 MB / 0.8542 GB, free: 2.023 MB / 0.5762 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.004132/0.705, allocations: 2.741 MB / 0.8569 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.7065, allocations: 0.8919 MB / 0.8578 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.707, allocations: 313.5 kB / 0.8581 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.7071, allocations: 27.09 kB / 0.8581 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.7081, allocations: 0.4929 MB / 0.8586 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.7081, allocations: 0 / 0.8586 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003126/0.7112, allocations: 1.191 MB / 0.8597 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7113, allocations: 192.4 kB / 0.8599 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.7121, allocations: 0.6308 MB / 0.8605 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.7122, allocations: 40.48 kB / 0.8606 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.7126, allocations: 383.9 kB / 0.8609 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.7128, allocations: 261.4 kB / 0.8612 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.713, allocations: 162.2 kB / 0.8613 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7132, allocations: 387.9 kB / 0.8617 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.7138, allocations: 263.5 kB / 0.862 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.7144, allocations: 367.6 kB / 0.8623 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7155, allocations: 0.6056 MB / 0.8629 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7155, allocations: 0 / 0.8629 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001969/0.7175, allocations: 0.8472 MB / 0.8637 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7175, allocations: 5.062 kB / 0.8637 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7175, allocations: 1.781 kB / 0.8637 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/0.7181, allocations: 84.05 kB / 0.8638 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.7188, allocations: 158.1 kB / 0.864 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.7211, allocations: 1.652 MB / 0.8656 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.7219, allocations: 95.75 kB / 0.8657 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/0.722, allocations: 38.59 kB / 0.8657 GB, free: 9.625 MB / 0.5919 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.0004829/0.7225, allocations: 268 kB / 0.866 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.7227, allocations: 82.81 kB / 0.866 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.7251, allocations: 1.059 MB / 0.8671 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.7251, allocations: 13.62 kB / 0.8671 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7251, allocations: 4 kB / 0.8671 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.7251, allocations: 14.45 kB / 0.8671 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.7285, allocations: 1.965 MB / 0.869 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.7285, allocations: 0 / 0.869 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.7291, allocations: 146.8 kB / 0.8692 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004838/0.7296, allocations: 68.8 kB / 0.8692 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.7296, allocations: 27.97 kB / 0.8693 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.7318, allocations: 1.67 MB / 0.8709 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7318, allocations: 0 / 0.8709 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7341, allocations: 0.9883 MB / 0.8719 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.7345, allocations: 271.8 kB / 0.8721 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7347, allocations: 23.91 kB / 0.8721 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.7354, allocations: 67.88 kB / 0.8722 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.7356, allocations: 68.89 kB / 0.8723 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.7357, allocations: 35.98 kB / 0.8723 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006132/0.7363, allocations: 455 kB / 0.8727 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7363, allocations: 0 / 0.8727 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009478/0.7372, allocations: 323.2 kB / 0.873 GB, free: 2.887 MB / 0.5919 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.002006/0.7393, allocations: 0.5985 MB / 0.8736 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002575/0.7418, allocations: 1.031 MB / 0.8746 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7419, allocations: 0 / 0.8746 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7429, allocations: 0.5159 MB / 0.8751 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7444, allocations: 307 kB / 0.8754 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.748, allocations: 2.048 MB / 0.8774 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.7487, allocations: 1.015 MB / 0.8784 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009347/0.7497, allocations: 258.5 kB / 0.8787 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.75, allocations: 111.4 kB / 0.8788 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of SimCode: time 6.42e-07/0.75, allocations: 0 / 0.8788 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.02835/0.7783, allocations: 15.07 MB / 0.8935 GB, free: 14.24 MB / 0.6231 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)