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.001209/0.001209, allocations: 108 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.001302/0.001303, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.383/2.383, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.484, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004722/0.4888, allocations: 4.296 MB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003743/0.4925, allocations: 2.706 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.4929, allocations: 8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.4931, allocations: 94.78 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.4945, allocations: 0.5174 MB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.4952, allocations: 455.3 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4962, allocations: 1.299 MB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.4967, allocations: 390.2 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.4972, allocations: 0.5177 MB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.498, allocations: 0.5849 MB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.4982, allocations: 128 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.4987, allocations: 299.8 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.4989, allocations: 283 kB / 1.029 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.4993, allocations: 0.5366 MB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.5005, allocations: 1.424 MB / 1.031 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5005, allocations: 0 / 1.031 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5005, allocations: 0 / 1.031 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.5005, allocations: 0 / 1.031 GB, free: 4.902 MB / 0.7794 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.002784/0.5033, allocations: 1.356 MB / 1.032 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.5033, allocations: 8.031 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.5035, allocations: 131 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.5037, allocations: 103.7 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/0.5043, allocations: 0.5812 MB / 1.033 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.5044, allocations: 70.31 kB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5045, allocations: 79.94 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.5058, allocations: 0.8807 MB / 1.034 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5058, allocations: 0 / 1.034 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.5059, allocations: 36 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.5059, allocations: 20 kB / 1.034 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.5072, allocations: 0.6861 MB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.5108, allocations: 2.462 MB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/0.5146, allocations: 1.252 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.5153, allocations: 423.3 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.5153, allocations: 27.89 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5164, allocations: 0.67 MB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of pre-optimization done (n=108): time 2.855e-06/0.5164, allocations: 0 / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=108): time 0.002397/0.5188, allocations: 1.283 MB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.5189, allocations: 148.4 kB / 1.041 GB, free: 10.42 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.5194, allocations: 0.5261 MB / 1.041 GB, free: 9.887 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.5195, allocations: 49.7 kB / 1.041 GB, free: 9.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5197, allocations: 301.1 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.5199, allocations: 331.3 kB / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.5201, allocations: 190.5 kB / 1.042 GB, free: 9.012 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5203, allocations: 386.8 kB / 1.042 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.5209, allocations: 325.8 kB / 1.043 GB, free: 8.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.5215, allocations: 409.2 kB / 1.043 GB, free: 7.891 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.5228, allocations: 0.6945 MB / 1.044 GB, free: 7.184 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5228, allocations: 0 / 1.044 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001624/0.5244, allocations: 0.9148 MB / 1.045 GB, free: 6.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5244, allocations: 8 kB / 1.045 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5245, allocations: 0 / 1.045 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5245, allocations: 8 kB / 1.045 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.5254, allocations: 215.5 kB / 1.045 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5254, allocations: 4 kB / 1.045 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.5262, allocations: 127.1 kB / 1.045 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.5263, allocations: 51.95 kB / 1.045 GB, free: 5.855 MB / 0.795 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.0002826/0.5266, allocations: 238.9 kB / 1.045 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5268, allocations: 79.05 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.5292, allocations: 1.373 MB / 1.047 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5292, allocations: 19.98 kB / 1.047 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5292, allocations: 0 / 1.047 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5292, allocations: 11.92 kB / 1.047 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.5302, allocations: 1.011 MB / 1.048 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5302, allocations: 4 kB / 1.048 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.531, allocations: 211.7 kB / 1.048 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.531, allocations: 11.98 kB / 1.048 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.5311, allocations: 39.97 kB / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.5311, allocations: 11.98 kB / 1.048 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5311, allocations: 0 / 1.048 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.533, allocations: 1.206 MB / 1.049 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.5334, allocations: 291.6 kB / 1.049 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.5335, allocations: 39.91 kB / 1.049 GB, free: 1.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/0.5342, allocations: 67.92 kB / 1.049 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5344, allocations: 119.5 kB / 1.05 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.5345, allocations: 51.95 kB / 1.05 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004011/0.5349, allocations: 390.8 kB / 1.05 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5349, allocations: 11.94 kB / 1.05 GB, free: 0.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006319/0.5355, allocations: 303.5 kB / 1.05 GB, free: 292 kB / 0.795 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.002596/0.5381, allocations: 1.978 MB / 1.052 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.54, allocations: 0.9699 MB / 1.053 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.54, allocations: 0 / 1.053 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.5409, allocations: 0.5782 MB / 1.054 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.5413, allocations: 90.23 kB / 1.054 GB, free: 12.68 MB / 0.8106 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.008563/0.5499, allocations: 6.659 MB / 1.06 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.5503, allocations: 1.002 MB / 1.061 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005374/0.5509, allocations: 162.9 kB / 1.061 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.5514, allocations: 375.2 kB / 1.062 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.5514, allocations: 0 / 1.062 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 34.28/34.83, allocations: 17.45 MB / 1.079 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/41.93, allocations: 18.53 kB / 1.079 GB, free: 3.074 MB / 0.8262 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)