Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.004878/0.004878, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001292/0.001293, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 282.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9867/0.9867, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 103.8 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4109, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006253/0.4172, allocations: 4.275 MB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.5868, allocations: 150.5 MB / 0.9171 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.5875, allocations: 15.94 kB / 0.9171 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.588, allocations: 178.4 kB / 0.9173 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.5895, allocations: 0.4913 MB / 0.9177 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.5913, allocations: 0.8238 MB / 0.9186 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.5927, allocations: 1.289 MB / 0.9198 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.5935, allocations: 0.6085 MB / 0.9204 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.5941, allocations: 466.3 kB / 0.9209 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.5947, allocations: 485.8 kB / 0.9213 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.5949, allocations: 112 kB / 0.9214 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.5958, allocations: 499.5 kB / 0.9219 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.5961, allocations: 283.1 kB / 0.9222 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.5966, allocations: 0.5285 MB / 0.9227 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.5984, allocations: 1.593 MB / 0.9242 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5984, allocations: 0 / 0.9242 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.426e-06/0.5984, allocations: 0 / 0.9242 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.5984, allocations: 7.938 kB / 0.9242 GB, free: 1.047 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002407/0.6008, allocations: 1.436 MB / 0.9256 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6009, allocations: 12.03 kB / 0.9257 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.6011, allocations: 135.3 kB / 0.9258 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009068/0.602, allocations: 184.1 kB / 0.926 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6032, allocations: 0.766 MB / 0.9267 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.6033, allocations: 61.98 kB / 0.9268 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.6034, allocations: 80 kB / 0.9268 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.605, allocations: 0.8989 MB / 0.9277 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.6051, allocations: 7.938 kB / 0.9277 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.6052, allocations: 36 kB / 0.9278 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.6052, allocations: 20 kB / 0.9278 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.6071, allocations: 1.097 MB / 0.9289 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.611, allocations: 2.446 MB / 0.9312 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6126, allocations: 0.8675 MB / 0.9321 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.6132, allocations: 294.7 kB / 0.9324 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.6133, allocations: 40.53 kB / 0.9324 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.6142, allocations: 484.8 kB / 0.9329 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.6142, allocations: 0 / 0.9329 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.00318/0.6174, allocations: 1.179 MB / 0.934 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6175, allocations: 196.6 kB / 0.9342 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.6184, allocations: 0.6137 MB / 0.9348 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.6185, allocations: 41.7 kB / 0.9349 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.6188, allocations: 400.9 kB / 0.9352 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.6191, allocations: 265.8 kB / 0.9355 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.6194, allocations: 150.5 kB / 0.9356 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.6196, allocations: 390.7 kB / 0.936 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.6201, allocations: 237.9 kB / 0.9362 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.6208, allocations: 354.5 kB / 0.9366 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6219, allocations: 0.5682 MB / 0.9371 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6219, allocations: 4 kB / 0.9371 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001894/0.6238, allocations: 0.7906 MB / 0.9379 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6238, allocations: 4 kB / 0.9379 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6238, allocations: 0 / 0.9379 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.6244, allocations: 84.86 kB / 0.938 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.625, allocations: 151.7 kB / 0.9381 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.6274, allocations: 1.63 MB / 0.9397 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.628, allocations: 87.56 kB / 0.9398 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.6281, allocations: 31.97 kB / 0.9398 GB, free: 0.5273 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004214/0.6285, allocations: 270.6 kB / 0.9401 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.6287, allocations: 79.48 kB / 0.9402 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.6311, allocations: 1.054 MB / 0.9412 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6311, allocations: 12 kB / 0.9412 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.6311, allocations: 0 / 0.9412 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.6312, allocations: 7.922 kB / 0.9412 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.6344, allocations: 1.911 MB / 0.9431 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6344, allocations: 0 / 0.9431 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.635, allocations: 139.8 kB / 0.9432 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.6354, allocations: 72.78 kB / 0.9433 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.6355, allocations: 23.98 kB / 0.9433 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6376, allocations: 1.662 MB / 0.9449 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6376, allocations: 0 / 0.9449 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.6397, allocations: 0.9906 MB / 0.9459 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.64, allocations: 276.2 kB / 0.9462 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6402, allocations: 20 kB / 0.9462 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.6408, allocations: 67.92 kB / 0.9462 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.641, allocations: 64.91 kB / 0.9463 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.641, allocations: 39.97 kB / 0.9463 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006018/0.6417, allocations: 451 kB / 0.9468 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6417, allocations: 0 / 0.9468 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008177/0.6425, allocations: 315 kB / 0.9471 GB, free: 8.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004141/0.6466, allocations: 2.03 MB / 0.9491 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.6483, allocations: 0.7962 MB / 0.9498 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6484, allocations: 4 kB / 0.9498 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.6493, allocations: 0.5041 MB / 0.9503 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6506, allocations: 298.2 kB / 0.9506 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3259/0.9764, allocations: 6.235 MB / 0.9567 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.9772, allocations: 1.015 MB / 0.9577 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001011/0.9782, allocations: 260 kB / 0.9579 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.9788, allocations: 380.5 kB / 0.9583 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/0.9788, allocations: 0 / 0.9583 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/1.028, allocations: 20.93 MB / 0.9788 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.69, allocations: 17.36 kB / 0.9788 GB, free: 173.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)