Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001187/0.001187, allocations: 201.4 kB / 16.14 MB, free: 6.648 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.268/2.268, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4753, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005297/0.4806, allocations: 4.997 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1261/0.6067, allocations: 148.5 MB / 1.167 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.6075, allocations: 23.88 kB / 1.167 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.6079, allocations: 154.8 kB / 1.167 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.6092, allocations: 0.4918 MB / 1.167 GB, free: 8.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.6106, allocations: 0.735 MB / 1.168 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009557/0.6116, allocations: 1.354 MB / 1.169 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.6123, allocations: 0.5767 MB / 1.17 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.6127, allocations: 450.2 kB / 1.17 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.6131, allocations: 0.5016 MB / 1.171 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6132, allocations: 60 kB / 1.171 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.6138, allocations: 399.6 kB / 1.171 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.614, allocations: 243 kB / 1.171 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.6144, allocations: 0.5282 MB / 1.172 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.6156, allocations: 1.597 MB / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6156, allocations: 0 / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.92e-07/0.6156, allocations: 0 / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6156, allocations: 0 / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002291/0.6179, allocations: 1.475 MB / 1.175 GB, free: 152 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.6179, allocations: 8.031 kB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.6181, allocations: 143.8 kB / 1.175 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.6189, allocations: 195.3 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.6198, allocations: 0.7621 MB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.6199, allocations: 69.94 kB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.62, allocations: 84 kB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.6214, allocations: 0.9691 MB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6214, allocations: 7.938 kB / 1.177 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.6215, allocations: 36 kB / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6215, allocations: 20 kB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.6232, allocations: 1.155 MB / 1.178 GB, free: 12.62 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.003565/0.6268, allocations: 2.892 MB / 1.181 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6281, allocations: 0.8443 MB / 1.182 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.6287, allocations: 326.7 kB / 1.182 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/0.6287, allocations: 36.67 kB / 1.182 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.6296, allocations: 0.5353 MB / 1.183 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.204e-06/0.6296, allocations: 0 / 1.183 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003065/0.6327, allocations: 1.29 MB / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.6328, allocations: 192.9 kB / 1.184 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.6334, allocations: 0.6605 MB / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.6335, allocations: 45.64 kB / 1.185 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6338, allocations: 412.4 kB / 1.185 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6339, allocations: 280 kB / 1.186 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.6342, allocations: 158.5 kB / 1.186 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6343, allocations: 390.8 kB / 1.186 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.6348, allocations: 273.8 kB / 1.186 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.6354, allocations: 386.5 kB / 1.187 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6365, allocations: 0.6359 MB / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6365, allocations: 0 / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001798/0.6383, allocations: 0.876 MB / 1.188 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6383, allocations: 4 kB / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6383, allocations: 0 / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.6389, allocations: 80.84 kB / 1.188 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.6395, allocations: 167.8 kB / 1.188 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.6413, allocations: 1.538 MB / 1.19 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.6419, allocations: 91.23 kB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.642, allocations: 43.91 kB / 1.19 GB, free: 72 kB / 0.9356 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 (97): * Single equations (assignments): 96 * 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.0003316/0.6424, allocations: 265.6 kB / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.6425, allocations: 94.95 kB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.6449, allocations: 1.16 MB / 1.192 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6449, allocations: 12 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6449, allocations: 3.938 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.6449, allocations: 3.984 kB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.6458, allocations: 0.9386 MB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6458, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.6464, allocations: 155.8 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.6469, allocations: 92.69 kB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.647, allocations: 23.98 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.6486, allocations: 1.548 MB / 1.194 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6486, allocations: 0 / 1.194 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6504, allocations: 0.998 MB / 1.195 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.6508, allocations: 287.7 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6509, allocations: 16 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.6515, allocations: 75.83 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6517, allocations: 72.89 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.6517, allocations: 39.97 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00049/0.6522, allocations: 487 kB / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6523, allocations: 0 / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006669/0.6529, allocations: 331.3 kB / 1.197 GB, free: 9.246 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,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.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 (100): * Single equations (assignments): 93 * 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.003167/0.6561, allocations: 2.054 MB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.6576, allocations: 0.8586 MB / 1.199 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6576, allocations: 0 / 1.199 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.6585, allocations: 0.5433 MB / 1.2 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6595, allocations: 287.6 kB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6699, allocations: 7.167 MB / 1.207 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6704, allocations: 1.043 MB / 1.208 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007827/0.6712, allocations: 267.2 kB / 1.208 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.6718, allocations: 403.3 kB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of SimCode: time 5.3e-07/0.6718, allocations: 4 kB / 1.209 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.863/4.535, allocations: 21.66 MB / 1.23 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/4.535, allocations: 320.5 kB / 1.23 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/7.619, allocations: 0 / 1.23 GB, free: 6.922 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)