Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001261/0.001261, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 196.2 kB / 16.54 MB, free: 6.668 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5014, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006068/0.5075, allocations: 5.376 MB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.6407, allocations: 150.8 MB / 1.17 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.6415, allocations: 19.88 kB / 1.17 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.6422, allocations: 202 kB / 1.17 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.644, allocations: 0.6093 MB / 1.171 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.6459, allocations: 0.8914 MB / 1.172 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.6474, allocations: 1.553 MB / 1.173 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.6482, allocations: 0.6642 MB / 1.174 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.6489, allocations: 0.5684 MB / 1.174 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/0.6495, allocations: 0.5873 MB / 1.175 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.6497, allocations: 136 kB / 1.175 GB, free: 456 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.6505, allocations: 499.7 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.6508, allocations: 338.8 kB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.6513, allocations: 0.6491 MB / 1.176 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.6528, allocations: 1.815 MB / 1.178 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6528, allocations: 7.984 kB / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6528, allocations: 0 / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.6528, allocations: 0 / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002328/0.6551, allocations: 1.573 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6552, allocations: 15.97 kB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.6553, allocations: 156.5 kB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.6562, allocations: 207.1 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.6571, allocations: 0.7972 MB / 1.181 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.6572, allocations: 78 kB / 1.181 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6573, allocations: 96 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6588, allocations: 1.067 MB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6588, allocations: 3.938 kB / 1.182 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.6589, allocations: 48 kB / 1.182 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.6589, allocations: 28 kB / 1.182 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6607, allocations: 1.225 MB / 1.183 GB, free: 7.688 MB / 0.9356 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.003989/0.6647, allocations: 3.191 MB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.6662, allocations: 0.882 MB / 1.187 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.6667, allocations: 347.7 kB / 1.188 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.6668, allocations: 37.02 kB / 1.188 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008781/0.6677, allocations: 0.5551 MB / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 2.275e-06/0.6677, allocations: 4 kB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003177/0.6709, allocations: 1.341 MB / 1.19 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.671, allocations: 192.9 kB / 1.19 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.6717, allocations: 0.6765 MB / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.6718, allocations: 45.7 kB / 1.19 GB, free: 188 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.6721, allocations: 448.4 kB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.6723, allocations: 291.7 kB / 1.191 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.6726, allocations: 174.4 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6727, allocations: 390.8 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.6733, allocations: 285.8 kB / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.6739, allocations: 402.5 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.675, allocations: 0.6672 MB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.675, allocations: 0 / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001892/0.6769, allocations: 0.9072 MB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.677, allocations: 8 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.677, allocations: 0 / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.6775, allocations: 84.83 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.6782, allocations: 175.7 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.6801, allocations: 1.652 MB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.6808, allocations: 103.3 kB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.6809, allocations: 35.97 kB / 1.196 GB, free: 10.39 MB / 0.9512 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.000364/0.6813, allocations: 275.4 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6814, allocations: 95.06 kB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.684, allocations: 1.23 MB / 1.197 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.684, allocations: 12 kB / 1.197 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.684, allocations: 0 / 1.197 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.684, allocations: 7.984 kB / 1.197 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.685, allocations: 1.013 MB / 1.198 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.685, allocations: 0 / 1.198 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.6857, allocations: 163.7 kB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.6861, allocations: 76.78 kB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.6862, allocations: 31.97 kB / 1.199 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.6879, allocations: 1.658 MB / 1.2 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6879, allocations: 3.984 kB / 1.2 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.6899, allocations: 1.045 MB / 1.201 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.6903, allocations: 295.5 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6904, allocations: 27.98 kB / 1.202 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.6911, allocations: 66.12 kB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.6912, allocations: 84.88 kB / 1.202 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.6913, allocations: 39.97 kB / 1.202 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005533/0.6919, allocations: 499 kB / 1.202 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6919, allocations: 3.938 kB / 1.202 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007787/0.6926, allocations: 375 kB / 1.203 GB, free: 3.164 MB / 0.9512 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.003388/0.696, allocations: 2.119 MB / 1.205 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.6985, allocations: 1.132 MB / 1.206 GB, free: 52 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6985, allocations: 4 kB / 1.206 GB, free: 48 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.6994, allocations: 0.5705 MB / 1.206 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.7005, allocations: 321.3 kB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.7103, allocations: 7.095 MB / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7109, allocations: 1.071 MB / 1.215 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000842/0.7117, allocations: 307.5 kB / 1.215 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.7123, allocations: 447.2 kB / 1.215 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.7123, allocations: 0 / 1.215 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6245/1.337, allocations: 23.83 MB / 1.239 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.1, allocations: 12.25 kB / 1.239 GB, free: 14.59 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)