Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8311/0.8311, allocations: 143.3 MB / 158.3 MB, free: 5.77 MB / 122.7 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: 185 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009083, allocations: 84.41 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 280.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005384, allocations: 12.88 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1837, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.896/4.08, allocations: 1.692 GB / 2.466 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/4.08, allocations: 104 kB / 2.466 GB, free: 62.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/4.206, allocations: 60.46 MB / 2.525 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.025e-06/4.206, allocations: 3.938 kB / 2.525 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.562e-05/4.206, allocations: 31.69 kB / 2.525 GB, free: 11.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002111/4.209, allocations: 1.205 MB / 2.526 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/4.209, allocations: 8.828 kB / 2.526 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/4.209, allocations: 138.9 kB / 2.526 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/4.21, allocations: 193 kB / 2.526 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/4.211, allocations: 0.6223 MB / 2.527 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/4.211, allocations: 64.44 kB / 2.527 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/4.211, allocations: 78.44 kB / 2.527 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/4.212, allocations: 0.8917 MB / 2.528 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/4.212, allocations: 0 / 2.528 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/4.212, allocations: 34 kB / 2.528 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/4.212, allocations: 20 kB / 2.528 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/4.214, allocations: 1.11 MB / 2.529 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/4.217, allocations: 2.565 MB / 2.532 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/4.219, allocations: 0.8875 MB / 2.532 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/4.219, allocations: 28.61 kB / 2.532 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006435/4.22, allocations: 451.2 kB / 2.533 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/4.22, allocations: 0 / 2.533 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002652/4.222, allocations: 1.136 MB / 2.534 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/4.222, allocations: 243.9 kB / 2.534 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/4.223, allocations: 0.5971 MB / 2.535 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/4.223, allocations: 45.7 kB / 2.535 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/4.223, allocations: 376.4 kB / 2.535 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/4.223, allocations: 256.3 kB / 2.535 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/4.223, allocations: 16 kB / 2.535 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/4.224, allocations: 374.8 kB / 2.536 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/4.224, allocations: 237.1 kB / 2.536 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/4.224, allocations: 339.6 kB / 2.536 GB, free: 304 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/4.225, allocations: 275.1 kB / 2.537 GB, free: 32 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/4.225, allocations: 4 kB / 2.537 GB, free: 28 kB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.4962/4.721, allocations: 0.7531 MB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/4.721, allocations: 5.188 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/4.721, allocations: 0 / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/4.722, allocations: 85.83 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/4.722, allocations: 146.9 kB / 2.538 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/4.724, allocations: 1.523 MB / 2.539 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/4.725, allocations: 91.08 kB / 2.539 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/4.725, allocations: 29.44 kB / 2.539 GB, free: 232.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006463/4.726, allocations: 253.7 kB / 2.539 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/4.726, allocations: 81.45 kB / 2.54 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/4.728, allocations: 1.077 MB / 2.541 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/4.728, allocations: 10.91 kB / 2.541 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/4.728, allocations: 0.625 kB / 2.541 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/4.728, allocations: 8.281 kB / 2.541 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/4.732, allocations: 1.977 MB / 2.543 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/4.732, allocations: 3.953 kB / 2.543 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/4.733, allocations: 165.3 kB / 2.543 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/4.733, allocations: 83.42 kB / 2.543 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/4.733, allocations: 21.73 kB / 2.543 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/4.735, allocations: 1.561 MB / 2.544 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.735, allocations: 3.562 kB / 2.544 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/4.737, allocations: 0.9681 MB / 2.545 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/4.738, allocations: 294.1 kB / 2.546 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/4.738, allocations: 19.66 kB / 2.546 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/4.739, allocations: 69.69 kB / 2.546 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/4.739, allocations: 65.7 kB / 2.546 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/4.739, allocations: 32.09 kB / 2.546 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007427/4.74, allocations: 489.8 kB / 2.546 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/4.74, allocations: 2.812 kB / 2.546 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001244/4.741, allocations: 372.6 kB / 2.547 GB, free: 230.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004553/4.746, allocations: 2.493 MB / 2.549 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001863/4.747, allocations: 0.7651 MB / 2.55 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/4.747, allocations: 2.875 kB / 2.55 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009906/4.748, allocations: 0.5131 MB / 2.55 GB, free: 229 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/4.75, allocations: 241.3 kB / 2.55 GB, free: 229 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/4.762, allocations: 5.154 MB / 2.555 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/4.763, allocations: 1.042 MB / 2.556 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00117/4.764, allocations: 267.5 kB / 2.557 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/4.765, allocations: 367.8 kB / 2.557 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.402e-06/4.765, allocations: 1.875 kB / 2.557 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/4.826, allocations: 29.84 MB / 2.586 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/4.826, allocations: 297.6 kB / 2.587 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/8.049, allocations: 1.828 kB / 2.587 GB, free: 224.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)