Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.64/1.64, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001177/0.001177, allocations: 94.45 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.62e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.385/6.627, allocations: 2.19 GB / 3.082 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/6.627, allocations: 86.48 kB / 3.082 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1302/6.757, allocations: 61.82 MB / 3.142 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/6.757, allocations: 0 / 3.142 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.245e-05/6.757, allocations: 23.98 kB / 3.142 GB, free: 81.57 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001449/6.759, allocations: 1.031 MB / 3.143 GB, free: 80.49 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/6.759, allocations: 8.031 kB / 3.143 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/6.759, allocations: 122.7 kB / 3.143 GB, free: 80.35 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007794/6.76, allocations: 182.6 kB / 3.143 GB, free: 80.17 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/6.76, allocations: 0.6036 MB / 3.144 GB, free: 79.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/6.76, allocations: 62 kB / 3.144 GB, free: 79.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/6.76, allocations: 72 kB / 3.144 GB, free: 79.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/6.761, allocations: 0.8091 MB / 3.145 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/6.762, allocations: 3.984 kB / 3.145 GB, free: 78.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/6.762, allocations: 43.94 kB / 3.145 GB, free: 78.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/6.762, allocations: 20 kB / 3.145 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/6.763, allocations: 1.007 MB / 3.146 GB, free: 77.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/6.766, allocations: 2.398 MB / 3.148 GB, free: 75.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/6.767, allocations: 0.6832 MB / 3.149 GB, free: 74.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/6.767, allocations: 258.5 kB / 3.149 GB, free: 74.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/6.767, allocations: 28.58 kB / 3.149 GB, free: 74.03 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/6.767, allocations: 405.9 kB / 3.15 GB, free: 73.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/6.767, allocations: 0 / 3.15 GB, free: 73.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001374/6.769, allocations: 0.6833 MB / 3.15 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/6.769, allocations: 243.9 kB / 3.15 GB, free: 72.63 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/6.77, allocations: 0.5581 MB / 3.151 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/6.77, allocations: 41.7 kB / 3.151 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/6.77, allocations: 364.3 kB / 3.151 GB, free: 71.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/6.77, allocations: 236.6 kB / 3.152 GB, free: 71.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/6.77, allocations: 8 kB / 3.152 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/6.77, allocations: 374.8 kB / 3.152 GB, free: 71.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/6.77, allocations: 205.5 kB / 3.152 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/6.771, allocations: 309 kB / 3.152 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/6.771, allocations: 246 kB / 3.153 GB, free: 70.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/6.771, allocations: 0 / 3.153 GB, free: 70.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001252/6.772, allocations: 0.6875 MB / 3.153 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/6.772, allocations: 8.062 kB / 3.153 GB, free: 69.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/6.772, allocations: 0 / 3.153 GB, free: 69.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/6.773, allocations: 92.7 kB / 3.153 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/6.773, allocations: 127.8 kB / 3.154 GB, free: 69.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/6.775, allocations: 1.528 MB / 3.155 GB, free: 67.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/6.775, allocations: 75.59 kB / 3.155 GB, free: 67.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/6.775, allocations: 23.98 kB / 3.155 GB, free: 67.57 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0001264/6.776, allocations: 146 kB / 3.155 GB, free: 67.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/6.776, allocations: 79.02 kB / 3.155 GB, free: 67.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/6.777, allocations: 0.9612 MB / 3.156 GB, free: 66.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/6.777, allocations: 8 kB / 3.156 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/6.777, allocations: 0 / 3.156 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/6.777, allocations: 7.984 kB / 3.156 GB, free: 66.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/6.778, allocations: 0.857 MB / 3.157 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/6.778, allocations: 4 kB / 3.157 GB, free: 65.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/6.779, allocations: 139.8 kB / 3.157 GB, free: 65.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/6.779, allocations: 84.77 kB / 3.157 GB, free: 65.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/6.779, allocations: 23.98 kB / 3.157 GB, free: 65.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/6.781, allocations: 1.552 MB / 3.159 GB, free: 63.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/6.781, allocations: 4.062 kB / 3.159 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/6.782, allocations: 0.7855 MB / 3.16 GB, free: 62.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/6.782, allocations: 283.8 kB / 3.16 GB, free: 62.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/6.782, allocations: 16 kB / 3.16 GB, free: 62.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/6.783, allocations: 63.94 kB / 3.16 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/6.783, allocations: 60.66 kB / 3.16 GB, free: 62.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/6.783, allocations: 32.12 kB / 3.16 GB, free: 62.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004581/6.783, allocations: 467.1 kB / 3.161 GB, free: 61.78 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.783, allocations: 0 / 3.161 GB, free: 61.78 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008798/6.784, allocations: 331.2 kB / 3.161 GB, free: 61.45 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.002764/6.787, allocations: 2.232 MB / 3.163 GB, free: 59.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001037/6.788, allocations: 0.6785 MB / 3.164 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/6.788, allocations: 0 / 3.164 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005847/6.789, allocations: 463.1 kB / 3.164 GB, free: 58.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/6.79, allocations: 233.8 kB / 3.164 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/6.793, allocations: 1.516 MB / 3.166 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/6.793, allocations: 1.015 MB / 3.167 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006969/6.794, allocations: 249.9 kB / 3.167 GB, free: 55.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/6.794, allocations: 339.3 kB / 3.167 GB, free: 54.72 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/6.794, allocations: 0 / 3.167 GB, free: 54.72 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/6.841, allocations: 30.39 MB / 3.197 GB, free: 24.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/6.841, allocations: 240.8 kB / 3.197 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/9.826, allocations: 4.062 kB / 3.197 GB, free: 24.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)