Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 102.7 kB / 16.4 MB, free: 6.027 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.001072/0.001072, allocations: 193.6 kB / 17.34 MB, free: 5.598 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6485/0.6485, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.75 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006029/0.1261, allocations: 4.896 MB / 0.6364 GB, free: 0 / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4342/0.5603, allocations: 150.6 MB / 0.7835 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.5611, allocations: 16.42 kB / 0.7835 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.5617, allocations: 198.9 kB / 0.7837 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.5633, allocations: 0.5573 MB / 0.7842 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5649, allocations: 0.847 MB / 0.785 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.5659, allocations: 1.428 MB / 0.7864 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006894/0.5666, allocations: 0.5943 MB / 0.787 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.5671, allocations: 0.496 MB / 0.7875 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.5676, allocations: 0.5172 MB / 0.788 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.5678, allocations: 117.8 kB / 0.7881 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.5685, allocations: 490.4 kB / 0.7886 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5687, allocations: 302.7 kB / 0.7889 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.5691, allocations: 0.5792 MB / 0.7894 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.5705, allocations: 1.67 MB / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5705, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5705, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.5705, allocations: 0 / 0.7911 GB, free: 12.91 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00226/0.5728, allocations: 1.458 MB / 0.7925 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5728, allocations: 10.03 kB / 0.7925 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.573, allocations: 138.2 kB / 0.7926 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.5738, allocations: 194.8 kB / 0.7928 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.5747, allocations: 0.7721 MB / 0.7936 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.5748, allocations: 69.66 kB / 0.7936 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.5749, allocations: 81.97 kB / 0.7937 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5762, allocations: 0.9432 MB / 0.7946 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5763, allocations: 0 / 0.7946 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.5764, allocations: 35.62 kB / 0.7947 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5764, allocations: 27.62 kB / 0.7947 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5779, allocations: 1.126 MB / 0.7958 GB, free: 11.48 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.003382/0.5813, allocations: 2.727 MB / 0.7985 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5826, allocations: 0.9107 MB / 0.7994 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.5831, allocations: 316.5 kB / 0.7997 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5831, allocations: 31 kB / 0.7997 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007366/0.5839, allocations: 0.5169 MB / 0.8002 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.004e-06/0.5839, allocations: 0 / 0.8002 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.002849/0.5867, allocations: 1.259 MB / 0.8014 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.5868, allocations: 194.8 kB / 0.8016 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.5875, allocations: 0.6329 MB / 0.8022 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.5876, allocations: 44.83 kB / 0.8023 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.5878, allocations: 405.8 kB / 0.8027 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.588, allocations: 268.4 kB / 0.8029 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.5882, allocations: 149 kB / 0.803 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5883, allocations: 395.1 kB / 0.8034 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.5888, allocations: 258.9 kB / 0.8037 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.5893, allocations: 369.4 kB / 0.804 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/0.5903, allocations: 0.6117 MB / 0.8046 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5903, allocations: 0 / 0.8046 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001681/0.592, allocations: 0.8319 MB / 0.8054 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.592, allocations: 5.281 kB / 0.8054 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.592, allocations: 2.719 kB / 0.8054 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5926, allocations: 85.7 kB / 0.8055 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.5932, allocations: 156.7 kB / 0.8057 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.5951, allocations: 1.621 MB / 0.8073 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.5958, allocations: 95.19 kB / 0.8073 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.5958, allocations: 32.52 kB / 0.8074 GB, free: 6.199 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.000324/0.5962, allocations: 284.6 kB / 0.8077 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5963, allocations: 82.97 kB / 0.8077 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.5985, allocations: 1.135 MB / 0.8088 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5985, allocations: 14.19 kB / 0.8089 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5985, allocations: 6.656 kB / 0.8089 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5985, allocations: 3.984 kB / 0.8089 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.6014, allocations: 2.021 MB / 0.8108 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6014, allocations: 2.344 kB / 0.8108 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.602, allocations: 153.7 kB / 0.811 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.6024, allocations: 70.09 kB / 0.8111 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.6024, allocations: 24.05 kB / 0.8111 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.6042, allocations: 1.66 MB / 0.8127 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6042, allocations: 0 / 0.8127 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.606, allocations: 1.049 MB / 0.8137 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.6063, allocations: 279.8 kB / 0.814 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6065, allocations: 22.84 kB / 0.814 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.6071, allocations: 69.27 kB / 0.8141 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6072, allocations: 75.89 kB / 0.8141 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.6073, allocations: 40.84 kB / 0.8142 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004789/0.6078, allocations: 465.8 kB / 0.8146 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6078, allocations: 4 kB / 0.8146 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000762/0.6086, allocations: 329.1 kB / 0.8149 GB, free: 1.48 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003124/0.6117, allocations: 2.098 MB / 0.817 GB, free: 200 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.6132, allocations: 0.8316 MB / 0.8178 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6132, allocations: 0 / 0.8178 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.614, allocations: 0.5477 MB / 0.8183 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.6151, allocations: 308 kB / 0.8186 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008902/0.624, allocations: 6.369 MB / 0.8249 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.6246, allocations: 1.033 MB / 0.8259 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.6253, allocations: 273 kB / 0.8261 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.6258, allocations: 404.7 kB / 0.8265 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6258, allocations: 0 / 0.8265 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.6722, allocations: 22.68 MB / 0.8487 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.12, allocations: 23.44 kB / 0.8487 GB, free: 4.52 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)