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.001252/0.001252, allocations: 114 kB / 17.08 MB, free: 5.965 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.001477/0.001478, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6528/0.6528, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 69.45 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 76.19 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006303/0.1368, allocations: 4.789 MB / 0.6374 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4395/0.5763, allocations: 150.6 MB / 0.7845 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.5772, allocations: 16.06 kB / 0.7845 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.5778, allocations: 194.4 kB / 0.7847 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.5793, allocations: 0.5425 MB / 0.7852 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5809, allocations: 0.8304 MB / 0.786 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.5822, allocations: 1.38 MB / 0.7873 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.5829, allocations: 0.5888 MB / 0.7879 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.5836, allocations: 495.4 kB / 0.7884 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.5841, allocations: 0.4977 MB / 0.7889 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.5843, allocations: 121.3 kB / 0.789 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.5852, allocations: 489.6 kB / 0.7895 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.5855, allocations: 298.3 kB / 0.7897 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.586, allocations: 0.5566 MB / 0.7903 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.5879, allocations: 1.635 MB / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5879, allocations: 0 / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5879, allocations: 2.156 kB / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.5879, allocations: 0 / 0.7919 GB, free: 13.23 MB / 0.5919 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.002428/0.5904, allocations: 1.427 MB / 0.7933 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5904, allocations: 14.59 kB / 0.7933 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.5913, allocations: 178.5 kB / 0.7935 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5924, allocations: 0.7567 MB / 0.7942 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.5924, allocations: 63 kB / 0.7943 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/0.5925, allocations: 79.22 kB / 0.7943 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5939, allocations: 0.9262 MB / 0.7952 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5939, allocations: 6.812 kB / 0.7953 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.594, allocations: 35.53 kB / 0.7953 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.594, allocations: 24.06 kB / 0.7953 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.5955, allocations: 1.109 MB / 0.7964 GB, free: 11.86 MB / 0.5919 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.003666/0.5991, allocations: 2.702 MB / 0.799 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.6005, allocations: 0.8924 MB / 0.7999 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.6009, allocations: 302.4 kB / 0.8002 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.601, allocations: 36.31 kB / 0.8002 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.6018, allocations: 499.8 kB / 0.8007 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 4.418e-06/0.6018, allocations: 0 / 0.8007 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002749/0.6045, allocations: 1.191 MB / 0.8019 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.6047, allocations: 194.9 kB / 0.802 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.6054, allocations: 0.6267 MB / 0.8027 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.6054, allocations: 40.92 kB / 0.8027 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.6057, allocations: 387.1 kB / 0.8031 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.6059, allocations: 260.2 kB / 0.8033 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.6061, allocations: 163.2 kB / 0.8035 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6063, allocations: 393.2 kB / 0.8038 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.6067, allocations: 261.5 kB / 0.8041 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.6073, allocations: 365.4 kB / 0.8044 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.6082, allocations: 0.6071 MB / 0.805 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6082, allocations: 0 / 0.805 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001733/0.61, allocations: 0.8418 MB / 0.8059 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.61, allocations: 7.156 kB / 0.8059 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.61, allocations: 6.562 kB / 0.8059 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.6106, allocations: 82.61 kB / 0.806 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.6111, allocations: 160.8 kB / 0.8061 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.6132, allocations: 1.646 MB / 0.8077 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.614, allocations: 92.16 kB / 0.8078 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.6141, allocations: 38.59 kB / 0.8078 GB, free: 6.777 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.0004535/0.6145, allocations: 272.8 kB / 0.8081 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.6147, allocations: 80.16 kB / 0.8082 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.6168, allocations: 1.059 MB / 0.8092 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6168, allocations: 11.91 kB / 0.8092 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6168, allocations: 0 / 0.8092 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6169, allocations: 10.64 kB / 0.8092 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.62, allocations: 1.968 MB / 0.8112 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.62, allocations: 0 / 0.8112 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.6205, allocations: 146.3 kB / 0.8113 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.621, allocations: 77.86 kB / 0.8114 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.621, allocations: 23.73 kB / 0.8114 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.6228, allocations: 1.67 MB / 0.813 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6228, allocations: 0 / 0.813 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.6248, allocations: 0.9917 MB / 0.814 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.6252, allocations: 271.7 kB / 0.8142 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6254, allocations: 20.84 kB / 0.8143 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.626, allocations: 69.61 kB / 0.8143 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6262, allocations: 65.88 kB / 0.8144 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.6262, allocations: 38.69 kB / 0.8144 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005669/0.6268, allocations: 450.5 kB / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6268, allocations: 0 / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009545/0.6278, allocations: 322.3 kB / 0.8152 GB, free: 2.105 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.001376/0.6292, allocations: 0.5977 MB / 0.8158 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.6308, allocations: 0.8309 MB / 0.8166 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6308, allocations: 3.938 kB / 0.8166 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.6317, allocations: 0.5185 MB / 0.8171 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.633, allocations: 306.6 kB / 0.8174 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.6359, allocations: 1.664 MB / 0.819 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.6364, allocations: 1.021 MB / 0.82 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.6368, allocations: 113.4 kB / 0.8201 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.6368, allocations: 0 / 0.8201 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of Templates: time 0.02326/0.66, allocations: 18.71 MB / 0.8384 GB, free: 240 kB / 0.6075 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)