Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json 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/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 190.5 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.324/2.324, allocations: 437 MB / 0.71 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5363, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005392/0.5417, allocations: 4.811 MB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.6814, allocations: 148.3 MB / 1.166 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009089/0.6824, allocations: 15.94 kB / 1.166 GB, free: 9.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.683, allocations: 146.8 kB / 1.166 GB, free: 8.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.6847, allocations: 464.4 kB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.6864, allocations: 0.7243 MB / 1.168 GB, free: 7.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.6876, allocations: 1.269 MB / 1.169 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.6882, allocations: 0.5555 MB / 1.169 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.6886, allocations: 414.3 kB / 1.17 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.689, allocations: 469.8 kB / 1.17 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.6892, allocations: 56 kB / 1.17 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.6898, allocations: 395.6 kB / 1.171 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.69, allocations: 235.1 kB / 1.171 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.6904, allocations: 0.4972 MB / 1.171 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.6916, allocations: 1.519 MB / 1.173 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.6917, allocations: 0 / 1.173 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6917, allocations: 0 / 1.173 GB, free: 2.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6917, allocations: 0 / 1.173 GB, free: 2.402 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002098/0.6938, allocations: 1.414 MB / 1.174 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.457e-05/0.6938, allocations: 12.03 kB / 1.174 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.6939, allocations: 135.3 kB / 1.174 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.6948, allocations: 179.4 kB / 1.174 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.6956, allocations: 0.7303 MB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.6957, allocations: 69.98 kB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/0.6958, allocations: 76 kB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.6971, allocations: 0.9066 MB / 1.176 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6971, allocations: 3.984 kB / 1.176 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.6972, allocations: 40 kB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.6972, allocations: 20 kB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.6988, allocations: 1.089 MB / 1.177 GB, free: 13.59 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.7022, allocations: 2.677 MB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.7036, allocations: 0.8785 MB / 1.181 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.7041, allocations: 298.7 kB / 1.181 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.7041, allocations: 32.55 kB / 1.181 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.705, allocations: 491.2 kB / 1.182 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.994e-06/0.705, allocations: 0 / 1.182 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002932/0.7079, allocations: 1.182 MB / 1.183 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.708, allocations: 188.6 kB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.7087, allocations: 0.6253 MB / 1.184 GB, free: 7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.7087, allocations: 41.64 kB / 1.184 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.709, allocations: 388.4 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.7092, allocations: 260.3 kB / 1.184 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7094, allocations: 142.6 kB / 1.184 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7095, allocations: 382.7 kB / 1.185 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.71, allocations: 249.9 kB / 1.185 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.7105, allocations: 358.4 kB / 1.185 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/0.7115, allocations: 0.5721 MB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7115, allocations: 0 / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001714/0.7133, allocations: 0.7902 MB / 1.187 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7133, allocations: 4.094 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7133, allocations: 4 kB / 1.187 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.7139, allocations: 80.72 kB / 1.187 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.7145, allocations: 151.8 kB / 1.187 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.7164, allocations: 1.528 MB / 1.188 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.717, allocations: 87.45 kB / 1.188 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.7171, allocations: 27.98 kB / 1.188 GB, free: 1.758 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.7175, allocations: 265.6 kB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.7176, allocations: 86.91 kB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.7198, allocations: 1.05 MB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7198, allocations: 11.98 kB / 1.19 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7198, allocations: 3.984 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7198, allocations: 7.984 kB / 1.19 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.7227, allocations: 1.91 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7227, allocations: 0 / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.7232, allocations: 143.7 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.7237, allocations: 80.78 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.7238, allocations: 27.97 kB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.7254, allocations: 1.54 MB / 1.193 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7254, allocations: 4.062 kB / 1.193 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.7272, allocations: 0.9842 MB / 1.194 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.7276, allocations: 271.8 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7277, allocations: 19.94 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.7283, allocations: 67.83 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.7285, allocations: 76.83 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.7285, allocations: 35.98 kB / 1.195 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004939/0.729, allocations: 455 kB / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.729, allocations: 0 / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007687/0.7298, allocations: 303.4 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003178/0.733, allocations: 2.053 MB / 1.198 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.7345, allocations: 0.7843 MB / 1.198 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7345, allocations: 0 / 1.198 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008204/0.7353, allocations: 0.5083 MB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7364, allocations: 280.1 kB / 1.199 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7465, allocations: 6.728 MB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.747, allocations: 1.008 MB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007818/0.7478, allocations: 266.5 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.7483, allocations: 379.3 kB / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.7483, allocations: 0 / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.01/4.758, allocations: 20.32 MB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/4.758, allocations: 314.8 kB / 1.227 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/7.748, allocations: 7.391 kB / 1.227 GB, free: 9.895 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)