Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.004836/0.004836, allocations: 102.6 kB / 15.73 MB, free: 5.902 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.001141/0.001141, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 283 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9044/0.9044, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.001831, allocations: 95.84 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1514, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005523/0.157, allocations: 4.407 MB / 0.7702 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4685/0.6255, allocations: 150.6 MB / 0.9173 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007408/0.6263, allocations: 15.94 kB / 0.9173 GB, free: 7.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.6269, allocations: 184.5 kB / 0.9174 GB, free: 7.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.6286, allocations: 0.5139 MB / 0.9179 GB, free: 7.234 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.6304, allocations: 0.8496 MB / 0.9188 GB, free: 6.418 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.6316, allocations: 1.34 MB / 0.9201 GB, free: 5.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.6324, allocations: 0.618 MB / 0.9207 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.633, allocations: 0.4952 MB / 0.9212 GB, free: 3.934 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.6335, allocations: 0.4979 MB / 0.9217 GB, free: 3.434 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6337, allocations: 124 kB / 0.9218 GB, free: 3.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007909/0.6345, allocations: 489.4 kB / 0.9222 GB, free: 2.836 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.6347, allocations: 303 kB / 0.9225 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.6352, allocations: 0.5596 MB / 0.9231 GB, free: 1.977 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.6368, allocations: 1.635 MB / 0.9247 GB, free: 348 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6368, allocations: 0 / 0.9247 GB, free: 348 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6368, allocations: 0 / 0.9247 GB, free: 348 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.6368, allocations: 0.6562 kB / 0.9247 GB, free: 348 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002423/0.6392, allocations: 1.459 MB / 0.9261 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6393, allocations: 12.02 kB / 0.9261 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6394, allocations: 139.5 kB / 0.9262 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.6403, allocations: 192 kB / 0.9264 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.6414, allocations: 0.7666 MB / 0.9272 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.6415, allocations: 69.94 kB / 0.9272 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6416, allocations: 87.73 kB / 0.9273 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6431, allocations: 0.9379 MB / 0.9282 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6431, allocations: 0 / 0.9282 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.6432, allocations: 40 kB / 0.9283 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.6432, allocations: 20 kB / 0.9283 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.6449, allocations: 1.124 MB / 0.9294 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.6484, allocations: 2.506 MB / 0.9318 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.6499, allocations: 0.9178 MB / 0.9327 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.6504, allocations: 314.7 kB / 0.933 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/0.6505, allocations: 36.67 kB / 0.9331 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.6513, allocations: 0.5125 MB / 0.9336 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 3.977e-06/0.6513, allocations: 4 kB / 0.9336 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003017/0.6543, allocations: 1.239 MB / 0.9348 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6545, allocations: 200.9 kB / 0.935 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.6552, allocations: 0.6333 MB / 0.9356 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.6553, allocations: 45.7 kB / 0.9356 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.6556, allocations: 400.5 kB / 0.936 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.6558, allocations: 268.1 kB / 0.9363 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.6561, allocations: 158.5 kB / 0.9364 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6562, allocations: 390.7 kB / 0.9368 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.6567, allocations: 257.9 kB / 0.937 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.6572, allocations: 370.5 kB / 0.9374 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.6583, allocations: 0.5969 MB / 0.938 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6583, allocations: 0 / 0.938 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001851/0.6601, allocations: 0.8312 MB / 0.9388 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6602, allocations: 8 kB / 0.9388 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6602, allocations: 0 / 0.9388 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.6608, allocations: 88.8 kB / 0.9389 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.6614, allocations: 159.7 kB / 0.939 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.6634, allocations: 1.622 MB / 0.9406 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.6641, allocations: 101.2 kB / 0.9407 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.6642, allocations: 33.61 kB / 0.9408 GB, free: 15.32 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: 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 (91): * Single equations (assignments): 90 * 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.0003925/0.6646, allocations: 273.8 kB / 0.941 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.6647, allocations: 86.91 kB / 0.9411 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.667, allocations: 1.127 MB / 0.9422 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.667, allocations: 15.92 kB / 0.9422 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6671, allocations: 4 kB / 0.9422 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.6671, allocations: 3.984 kB / 0.9422 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.6702, allocations: 2.029 MB / 0.9442 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6702, allocations: 0 / 0.9442 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.6708, allocations: 151.8 kB / 0.9443 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.6712, allocations: 72.78 kB / 0.9444 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.739e-05/0.6713, allocations: 23.98 kB / 0.9444 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.673, allocations: 1.659 MB / 0.9461 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6731, allocations: 4.062 kB / 0.9461 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.675, allocations: 1.049 MB / 0.9471 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.6754, allocations: 283.7 kB / 0.9474 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6756, allocations: 16 kB / 0.9474 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.6762, allocations: 63.92 kB / 0.9474 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.6764, allocations: 80.89 kB / 0.9475 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6766, allocations: 50.81 kB / 0.9476 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005519/0.6771, allocations: 463 kB / 0.948 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6771, allocations: 0 / 0.948 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000816/0.678, allocations: 319.2 kB / 0.9483 GB, free: 7.32 MB / 0.7012 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.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 (99): * Single equations (assignments): 92 * 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.003411/0.6814, allocations: 2.106 MB / 0.9504 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.6831, allocations: 0.8244 MB / 0.9512 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6831, allocations: 192 / 0.9512 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009127/0.684, allocations: 0.5432 MB / 0.9517 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6853, allocations: 301 kB / 0.952 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6967, allocations: 6.477 MB / 0.9583 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.6975, allocations: 1.035 MB / 0.9593 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008705/0.6984, allocations: 262.9 kB / 0.9596 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/0.699, allocations: 415.2 kB / 0.96 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/0.699, allocations: 0 / 0.96 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.7469, allocations: 22.34 MB / 0.9818 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.03, allocations: 5.422 kB / 0.9818 GB, free: 5.387 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)