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.7292/0.7292, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 170.9 kB / 187.3 MB, free: 11.89 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.317/1.317, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0007688/0.0007688, allocations: 95.44 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 276.2 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.094e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3588, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.239/3.598, allocations: 1.692 GB / 2.456 GB, free: 90.63 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/3.598, allocations: 99.94 kB / 2.456 GB, free: 90.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.124/3.722, allocations: 60.17 MB / 2.515 GB, free: 30.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/3.722, allocations: 0 / 2.515 GB, free: 30.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.175e-05/3.722, allocations: 27.94 kB / 2.515 GB, free: 30.13 MB / 0.698 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.002415/3.725, allocations: 1.09 MB / 2.516 GB, free: 28.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/3.725, allocations: 12.03 kB / 2.516 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/3.725, allocations: 131.2 kB / 2.516 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/3.726, allocations: 190.5 kB / 2.516 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/3.728, allocations: 0.6153 MB / 2.517 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/3.728, allocations: 66 kB / 2.517 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/3.728, allocations: 76 kB / 2.517 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/3.73, allocations: 0.8638 MB / 2.518 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/3.73, allocations: 0 / 2.518 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/3.73, allocations: 36 kB / 2.518 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/3.73, allocations: 20 kB / 2.518 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/3.731, allocations: 1.062 MB / 2.519 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/3.735, allocations: 2.563 MB / 2.522 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/3.737, allocations: 0.8436 MB / 2.522 GB, free: 22.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/3.737, allocations: 271.1 kB / 2.523 GB, free: 22.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/3.737, allocations: 40.8 kB / 2.523 GB, free: 22.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/3.738, allocations: 417.4 kB / 2.523 GB, free: 21.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/3.738, allocations: 0 / 2.523 GB, free: 21.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001509/3.739, allocations: 0.7226 MB / 2.524 GB, free: 20.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/3.739, allocations: 240.1 kB / 2.524 GB, free: 20.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/3.74, allocations: 0.5856 MB / 2.525 GB, free: 19.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/3.74, allocations: 37.7 kB / 2.525 GB, free: 19.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/3.74, allocations: 380.4 kB / 2.525 GB, free: 19.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/3.741, allocations: 256.3 kB / 2.525 GB, free: 19.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/3.741, allocations: 12 kB / 2.525 GB, free: 19.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/3.741, allocations: 378.8 kB / 2.526 GB, free: 18.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/3.741, allocations: 213.5 kB / 2.526 GB, free: 18.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/3.741, allocations: 321 kB / 2.526 GB, free: 18.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/3.742, allocations: 258 kB / 2.526 GB, free: 18.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/3.742, allocations: 0 / 2.526 GB, free: 18.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001367/3.743, allocations: 0.7187 MB / 2.527 GB, free: 17.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/3.743, allocations: 8 kB / 2.527 GB, free: 17.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.743, allocations: 0 / 2.527 GB, free: 17.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/3.744, allocations: 84.78 kB / 2.527 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/3.744, allocations: 147.8 kB / 2.527 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/3.746, allocations: 1.517 MB / 2.529 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/3.747, allocations: 91.36 kB / 2.529 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/3.747, allocations: 23.98 kB / 2.529 GB, free: 15.36 MB / 0.698 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 () * 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.0001524/3.747, allocations: 157 kB / 2.529 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/3.747, allocations: 79.06 kB / 2.529 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/3.749, allocations: 1.021 MB / 2.53 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/3.749, allocations: 8 kB / 2.53 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/3.749, allocations: 4 kB / 2.53 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/3.749, allocations: 7.938 kB / 2.53 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/3.751, allocations: 1.937 MB / 2.532 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/3.751, allocations: 0 / 2.532 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/3.752, allocations: 159.7 kB / 2.532 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/3.752, allocations: 88.77 kB / 2.532 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/3.753, allocations: 23.98 kB / 2.532 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/3.754, allocations: 1.54 MB / 2.534 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/3.754, allocations: 3.984 kB / 2.534 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/3.755, allocations: 0.9195 MB / 2.535 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/3.756, allocations: 287.7 kB / 2.535 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/3.756, allocations: 24.06 kB / 2.535 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/3.757, allocations: 63.95 kB / 2.535 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/3.757, allocations: 68.67 kB / 2.535 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/3.757, allocations: 39.94 kB / 2.535 GB, free: 8.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00065/3.758, allocations: 483.1 kB / 2.536 GB, free: 8.215 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/3.758, allocations: 0 / 2.536 GB, free: 8.215 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001412/3.759, allocations: 375.2 kB / 2.536 GB, free: 7.848 MB / 0.698 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) * 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.004016/3.763, allocations: 2.403 MB / 2.538 GB, free: 5.547 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001248/3.764, allocations: 0.7058 MB / 2.539 GB, free: 4.828 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/3.764, allocations: 7.938 kB / 2.539 GB, free: 4.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/3.765, allocations: 0.4912 MB / 2.539 GB, free: 4.316 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/3.766, allocations: 238.2 kB / 2.54 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/3.77, allocations: 1.599 MB / 2.541 GB, free: 2.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/3.77, allocations: 1.035 MB / 2.542 GB, free: 1.391 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007951/3.771, allocations: 266.4 kB / 2.543 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/3.771, allocations: 371.3 kB / 2.543 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/3.771, allocations: 0 / 2.543 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4104/4.182, allocations: 31.58 MB / 2.574 GB, free: 227.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/4.182, allocations: 260.4 kB / 2.574 GB, free: 227.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/7.3, allocations: 0 / 2.574 GB, free: 227.2 MB / 0.698 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)