Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 187.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009238/0.0009233, allocations: 91.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.324, allocations: 2.191 GB / 3.091 GB, free: 28.56 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.324, allocations: 106.2 kB / 3.091 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8131/6.137, allocations: 58.46 MB / 3.148 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.247e-06/6.137, allocations: 0 / 3.148 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000115/6.137, allocations: 27.44 kB / 3.148 GB, free: 312.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003661/6.141, allocations: 1.197 MB / 3.149 GB, free: 312 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/6.141, allocations: 6.438 kB / 3.149 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/6.141, allocations: 133.3 kB / 3.15 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/6.143, allocations: 190.8 kB / 3.15 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/6.145, allocations: 0.6345 MB / 3.15 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/6.145, allocations: 97.38 kB / 3.15 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/6.145, allocations: 72.53 kB / 3.151 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/6.147, allocations: 0.8824 MB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/6.148, allocations: 3.797 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/6.148, allocations: 36.81 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/6.148, allocations: 18.06 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/6.151, allocations: 1.103 MB / 3.153 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006681/6.158, allocations: 2.421 MB / 3.155 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/6.161, allocations: 0.8893 MB / 3.156 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/6.161, allocations: 33.86 kB / 3.156 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/6.163, allocations: 453.2 kB / 3.156 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 6.823e-06/6.163, allocations: 0 / 3.156 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004784/6.167, allocations: 1.161 MB / 3.157 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/6.168, allocations: 239.8 kB / 3.158 GB, free: 310 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/6.169, allocations: 0.5795 MB / 3.158 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/6.169, allocations: 47.23 kB / 3.158 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/6.169, allocations: 367.3 kB / 3.159 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/6.17, allocations: 255.7 kB / 3.159 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/6.17, allocations: 9.812 kB / 3.159 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001553/6.17, allocations: 382.2 kB / 3.159 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/6.171, allocations: 236.8 kB / 3.159 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/6.172, allocations: 341.9 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/6.172, allocations: 279.8 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/6.172, allocations: 7.688 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0024/6.175, allocations: 0.7525 MB / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/6.175, allocations: 7.656 kB / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/6.175, allocations: 0 / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008226/6.176, allocations: 92 kB / 3.161 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/6.177, allocations: 145.8 kB / 3.161 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/6.179, allocations: 1.525 MB / 3.162 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009854/6.18, allocations: 90.08 kB / 3.163 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/6.18, allocations: 33.66 kB / 3.163 GB, free: 307.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.000712/6.181, allocations: 255.7 kB / 3.163 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/6.181, allocations: 76.12 kB / 3.163 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/6.184, allocations: 1.093 MB / 3.164 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/6.184, allocations: 7.75 kB / 3.164 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.184, allocations: 7.203 kB / 3.164 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/6.184, allocations: 7.75 kB / 3.164 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/6.187, allocations: 1.988 MB / 3.166 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/6.187, allocations: 0 / 3.166 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/6.188, allocations: 165.3 kB / 3.166 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/6.189, allocations: 84.08 kB / 3.166 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/6.189, allocations: 24.97 kB / 3.166 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/6.19, allocations: 1.564 MB / 3.168 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/6.19, allocations: 3.312 kB / 3.168 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/6.192, allocations: 0.9765 MB / 3.169 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/6.193, allocations: 296.6 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/6.193, allocations: 16.44 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/6.194, allocations: 75.88 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/6.194, allocations: 65.02 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/6.194, allocations: 37.53 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006914/6.195, allocations: 479.2 kB / 3.17 GB, free: 305 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/6.195, allocations: 0 / 3.17 GB, free: 305 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001318/6.196, allocations: 327.3 kB / 3.17 GB, free: 304.9 MB / 0.8855 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.004028/6.2, allocations: 2.454 MB / 3.172 GB, free: 303.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001823/6.202, allocations: 0.7738 MB / 3.173 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/6.202, allocations: 3.969 kB / 3.173 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/6.203, allocations: 0.5111 MB / 3.174 GB, free: 303.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/6.205, allocations: 237.2 kB / 3.174 GB, free: 303 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/6.218, allocations: 5.101 MB / 3.179 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/6.219, allocations: 1.032 MB / 3.18 GB, free: 299.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001316/6.22, allocations: 267.4 kB / 3.18 GB, free: 299.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/6.221, allocations: 359.1 kB / 3.18 GB, free: 299.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.975e-06/6.221, allocations: 0 / 3.18 GB, free: 299.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/6.27, allocations: 29.1 MB / 3.209 GB, free: 271.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/6.27, allocations: 290.1 kB / 3.209 GB, free: 271.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/9.559, allocations: 6.328 kB / 3.209 GB, free: 271.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)