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.005375/0.005375, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001325/0.001325, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.496/2.496, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005245/0.2451, allocations: 4.318 MB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2493, allocations: 2.698 MB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.2499, allocations: 15.94 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.2502, allocations: 94.78 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2519, allocations: 0.5201 MB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.2527, allocations: 447.3 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2541, allocations: 1.318 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.2547, allocations: 382.3 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.2554, allocations: 0.5256 MB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008441/0.2562, allocations: 0.5836 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.2565, allocations: 124 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.2571, allocations: 311.8 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.2574, allocations: 283.1 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.258, allocations: 0.5443 MB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.2595, allocations: 1.467 MB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2595, allocations: 0 / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2595, allocations: 0 / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.119e-05/0.2596, allocations: 0 / 1.179 GB, free: 9.652 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00326/0.2628, allocations: 1.382 MB / 1.181 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2629, allocations: 12.03 kB / 1.181 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.263, allocations: 123.1 kB / 1.181 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.2632, allocations: 112.2 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008544/0.2641, allocations: 0.5894 MB / 1.182 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.2642, allocations: 62.36 kB / 1.182 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.2643, allocations: 79.94 kB / 1.182 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2657, allocations: 0.8846 MB / 1.183 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2658, allocations: 4 kB / 1.183 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.2658, allocations: 28 kB / 1.183 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2659, allocations: 20 kB / 1.183 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.2672, allocations: 0.69 MB / 1.183 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.2713, allocations: 2.451 MB / 1.186 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/0.2753, allocations: 1.25 MB / 1.187 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.276, allocations: 420.7 kB / 1.187 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-05/0.2761, allocations: 23.95 kB / 1.187 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2772, allocations: 0.6701 MB / 1.188 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.2772, allocations: 0 / 1.188 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=108): time 0.002604/0.2798, allocations: 1.283 MB / 1.189 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.2799, allocations: 144.5 kB / 1.189 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.2805, allocations: 0.53 MB / 1.19 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.2806, allocations: 49.7 kB / 1.19 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2808, allocations: 309.5 kB / 1.19 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.2811, allocations: 349 kB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.2814, allocations: 186.5 kB / 1.191 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2815, allocations: 378.8 kB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.2822, allocations: 325.8 kB / 1.191 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.2829, allocations: 413.2 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2842, allocations: 0.6906 MB / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2842, allocations: 0 / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001751/0.286, allocations: 0.927 MB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.286, allocations: 8 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.286, allocations: 4 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.286, allocations: 8 kB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.287, allocations: 203.7 kB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.287, allocations: 4 kB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.2879, allocations: 135.3 kB / 1.194 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.288, allocations: 43.91 kB / 1.194 GB, free: 10.57 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: 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.0003579/0.2883, allocations: 250.9 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.2885, allocations: 83.42 kB / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.2911, allocations: 1.369 MB / 1.195 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.2911, allocations: 16 kB / 1.195 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2912, allocations: 4 kB / 1.195 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.2912, allocations: 11.91 kB / 1.195 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2923, allocations: 1.016 MB / 1.196 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2923, allocations: 0 / 1.196 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.2932, allocations: 215.6 kB / 1.197 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.2932, allocations: 4 kB / 1.197 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.2933, allocations: 43.97 kB / 1.197 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.2933, allocations: 4 kB / 1.197 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2933, allocations: 4 kB / 1.197 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.2954, allocations: 1.21 MB / 1.198 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.2958, allocations: 304 kB / 1.198 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2959, allocations: 28 kB / 1.198 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.2967, allocations: 71.92 kB / 1.198 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.2969, allocations: 111.8 kB / 1.198 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/0.297, allocations: 55.95 kB / 1.198 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004446/0.2974, allocations: 398.8 kB / 1.199 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2974, allocations: 0 / 1.199 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007492/0.2982, allocations: 307.4 kB / 1.199 GB, free: 4.988 MB / 0.9512 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.002833/0.301, allocations: 1.994 MB / 1.201 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.3028, allocations: 0.9193 MB / 1.202 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3028, allocations: 0 / 1.202 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.3037, allocations: 0.577 MB / 1.203 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3042, allocations: 82.23 kB / 1.203 GB, free: 1.422 MB / 0.9512 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.009502/0.3137, allocations: 6.473 MB / 1.209 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.3143, allocations: 1.006 MB / 1.21 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005622/0.3149, allocations: 162.9 kB / 1.21 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005664/0.3154, allocations: 371.2 kB / 1.21 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of SimCode: time 9.51e-07/0.3155, allocations: 0 / 1.21 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/1.939, allocations: 17.64 MB / 1.228 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.815/10.75, allocations: 15.73 kB / 1.228 GB, free: 7.84 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)