Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.457/1.457, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001203/0.001203, allocations: 174.5 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008957/0.0008952, allocations: 101.5 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004282/0.2275, allocations: 3.476 MB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.3848, allocations: 127.2 MB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.3858, allocations: 11.94 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.3862, allocations: 71.34 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3878, allocations: 427.1 kB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.3896, allocations: 0.5875 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3913, allocations: 0.7363 MB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.3922, allocations: 435.1 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007689/0.393, allocations: 314.7 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.3935, allocations: 286.5 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.3936, allocations: 20 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008867/0.3945, allocations: 247.6 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3947, allocations: 163.3 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.395, allocations: 177.1 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3964, allocations: 1.013 MB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3964, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3964, allocations: 4 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3964, allocations: 0 / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002241/0.3987, allocations: 1.1 MB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3987, allocations: 12.03 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.3989, allocations: 126.8 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.3999, allocations: 186.6 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.401, allocations: 0.6758 MB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.401, allocations: 62 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.4012, allocations: 72 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.4026, allocations: 0.8403 MB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4026, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.4027, allocations: 32 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.4027, allocations: 19.95 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.4044, allocations: 1.069 MB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.4084, allocations: 2.371 MB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4098, allocations: 0.7978 MB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.4099, allocations: 40.52 kB / 1.039 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.4106, allocations: 419.2 kB / 1.04 GB, free: 336 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.028e-06/0.4107, allocations: 0 / 1.04 GB, free: 336 kB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002861/0.4135, allocations: 1.082 MB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.4137, allocations: 192.6 kB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.4145, allocations: 0.5627 MB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.4146, allocations: 41.7 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.415, allocations: 372.3 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.4152, allocations: 244.5 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.4153, allocations: 8 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4155, allocations: 374.8 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.4159, allocations: 217.2 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.4164, allocations: 322.7 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.4169, allocations: 259.1 kB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4169, allocations: 0 / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001738/0.4187, allocations: 0.7197 MB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4187, allocations: 9.719 kB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4187, allocations: 3.984 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.4194, allocations: 80.88 kB / 1.044 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.4199, allocations: 143.8 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.4221, allocations: 1.516 MB / 1.046 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.4229, allocations: 82.62 kB / 1.046 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.423, allocations: 27.98 kB / 1.046 GB, free: 9.844 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0005255/0.4235, allocations: 246 kB / 1.046 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4237, allocations: 79.02 kB / 1.046 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.4259, allocations: 1.025 MB / 1.047 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4259, allocations: 8 kB / 1.047 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.426, allocations: 0 / 1.047 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.426, allocations: 3.984 kB / 1.047 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.4293, allocations: 1.862 MB / 1.049 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4293, allocations: 4 kB / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.4299, allocations: 147.8 kB / 1.049 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/0.4304, allocations: 84.77 kB / 1.049 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.4305, allocations: 23.98 kB / 1.049 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.4323, allocations: 1.563 MB / 1.051 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4323, allocations: 4.062 kB / 1.051 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.4342, allocations: 0.9141 MB / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.4347, allocations: 271.7 kB / 1.052 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4348, allocations: 16 kB / 1.052 GB, free: 3.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.4354, allocations: 71.94 kB / 1.052 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.4356, allocations: 60.91 kB / 1.052 GB, free: 3.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.4356, allocations: 27.98 kB / 1.052 GB, free: 3.188 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005483/0.4362, allocations: 415.1 kB / 1.052 GB, free: 2.789 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4362, allocations: 0 / 1.052 GB, free: 2.789 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008234/0.437, allocations: 267.4 kB / 1.053 GB, free: 2.527 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003176/0.4402, allocations: 1.919 MB / 1.055 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.4418, allocations: 0.724 MB / 1.055 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 0.4197/0.8615, allocations: 3.938 kB / 1.055 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.8628, allocations: 490.1 kB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8643, allocations: 231.5 kB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/0.8741, allocations: 4.998 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.8748, allocations: 1.02 MB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001031/0.8759, allocations: 251.7 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.8764, allocations: 352.4 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.8764, allocations: 0 / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.9306, allocations: 19.39 MB / 1.081 GB, free: 144.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.9309, allocations: 295.2 kB / 1.082 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.651, allocations: 0 / 1.082 GB, free: 144.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)