Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",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.004688/0.004688, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.001057/0.001057, allocations: 196.5 kB / 16.68 MB, free: 5.934 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.268/2.268, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 68.12 kB / 1.018 GB, free: 9.973 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.77, allocations: 151.6 MB / 1.166 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005642/0.7757, allocations: 4.308 MB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005415/0.7812, allocations: 2.706 MB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.782, allocations: 8 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.7824, allocations: 98.72 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.7847, allocations: 0.5222 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.7857, allocations: 443.4 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.7874, allocations: 1.315 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.7881, allocations: 394.2 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.789, allocations: 0.5138 MB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.7901, allocations: 0.5798 MB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.7904, allocations: 128 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007034/0.7911, allocations: 315.8 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.7913, allocations: 287.1 kB / 1.177 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.7919, allocations: 0.5405 MB / 1.178 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.7933, allocations: 1.455 MB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7933, allocations: 4 kB / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7934, allocations: 0 / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7934, allocations: 0 / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003063/0.7964, allocations: 1.356 MB / 1.181 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7965, allocations: 8.922 kB / 1.181 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.7966, allocations: 131.1 kB / 1.181 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.7969, allocations: 99.72 kB / 1.181 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.7978, allocations: 0.5773 MB / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.7979, allocations: 66.38 kB / 1.182 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.798, allocations: 83.92 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.7994, allocations: 0.8768 MB / 1.182 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7995, allocations: 0 / 1.182 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.7996, allocations: 32 kB / 1.183 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.7996, allocations: 20 kB / 1.183 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.8009, allocations: 0.6978 MB / 1.183 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.8049, allocations: 2.434 MB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/0.8087, allocations: 1.255 MB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.8094, allocations: 421.5 kB / 1.187 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/0.8095, allocations: 19.97 kB / 1.187 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.8106, allocations: 0.6832 MB / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=108): time 4.438e-06/0.8107, allocations: 0 / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=108): time 0.002584/0.8132, allocations: 1.286 MB / 1.189 GB, free: 12.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.8133, allocations: 144.5 kB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.8139, allocations: 0.5223 MB / 1.19 GB, free: 11.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.814, allocations: 49.7 kB / 1.19 GB, free: 11.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.8142, allocations: 297.1 kB / 1.19 GB, free: 10.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.8145, allocations: 335.2 kB / 1.19 GB, free: 10.64 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.8148, allocations: 190.5 kB / 1.191 GB, free: 10.44 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8149, allocations: 382.8 kB / 1.191 GB, free: 10.06 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.8156, allocations: 325.8 kB / 1.191 GB, free: 9.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.8162, allocations: 401.2 kB / 1.192 GB, free: 9.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.8176, allocations: 0.696 MB / 1.192 GB, free: 8.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8176, allocations: 4 kB / 1.192 GB, free: 8.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001732/0.8193, allocations: 0.9187 MB / 1.193 GB, free: 7.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8193, allocations: 8 kB / 1.193 GB, free: 7.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8193, allocations: 0 / 1.193 GB, free: 7.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.8194, allocations: 4 kB / 1.193 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.8203, allocations: 203.6 kB / 1.193 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.8203, allocations: 11.98 kB / 1.194 GB, free: 7.477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/0.8212, allocations: 131 kB / 1.194 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.8213, allocations: 47.95 kB / 1.194 GB, free: 7.301 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 (proShaLenEas.solAzi.outsidePolarCircle,proShaLenEas.decAng.tNext,$PRE.proShaLenEas.decAng.tNext,proShaLenEas.eqnTim.tNext,$PRE.proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.tNext,$PRE.proShaLenEas.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,proShaLenSou.solAzi.outsidePolarCircle,proShaLenSou.decAng.tNext,$PRE.proShaLenSou.decAng.tNext,proShaLenSou.eqnTim.tNext,$PRE.proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.tNext,$PRE.proShaLenSou.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,proShaLenWes.solAzi.outsidePolarCircle,proShaLenWes.decAng.tNext,$PRE.proShaLenWes.decAng.tNext,proShaLenWes.eqnTim.tNext,$PRE.proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.tNext,$PRE.proShaLenWes.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,proShaLenNor.solAzi.outsidePolarCircle,proShaLenNor.decAng.tNext,$PRE.proShaLenNor.decAng.tNext,proShaLenNor.eqnTim.tNext,$PRE.proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.tNext,$PRE.proShaLenNor.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003645/0.8217, allocations: 246.9 kB / 1.194 GB, free: 7.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.8218, allocations: 83.05 kB / 1.194 GB, free: 6.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.8244, allocations: 1.355 MB / 1.195 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8244, allocations: 19.98 kB / 1.195 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8244, allocations: 3.938 kB / 1.195 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.8244, allocations: 15.91 kB / 1.195 GB, free: 5.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.8255, allocations: 1.019 MB / 1.196 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8255, allocations: 7.938 kB / 1.196 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.8264, allocations: 207.7 kB / 1.197 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.8264, allocations: 8 kB / 1.197 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.8265, allocations: 39.95 kB / 1.197 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.8265, allocations: 8 kB / 1.197 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8265, allocations: 0 / 1.197 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.8285, allocations: 1.213 MB / 1.198 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.8289, allocations: 295.6 kB / 1.198 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.829, allocations: 31.98 kB / 1.198 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.8297, allocations: 67.94 kB / 1.198 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.8299, allocations: 119.8 kB / 1.198 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/0.83, allocations: 47.97 kB / 1.198 GB, free: 2.418 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004336/0.8305, allocations: 394.8 kB / 1.199 GB, free: 2.031 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8305, allocations: 0 / 1.199 GB, free: 2.031 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008211/0.8313, allocations: 303.5 kB / 1.199 GB, free: 1.734 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext) * Number of discrete states: 12 (proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002888/0.8342, allocations: 1.986 MB / 1.201 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.8359, allocations: 0.9193 MB / 1.202 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.836, allocations: 0 / 1.202 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.8369, allocations: 0.573 MB / 1.202 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.8374, allocations: 82.25 kB / 1.202 GB, free: 14.19 MB / 0.9356 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/0.8468, allocations: 6.433 MB / 1.209 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.8474, allocations: 1.013 MB / 1.21 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005502/0.8479, allocations: 162.9 kB / 1.21 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.8485, allocations: 375.2 kB / 1.21 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of SimCode: time 9.51e-07/0.8485, allocations: 0 / 1.21 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.469/4.317, allocations: 17.63 MB / 1.227 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/14.1, allocations: 17.56 kB / 1.227 GB, free: 4.574 MB / 0.9512 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)