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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00656/0.00656, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001774/0.001774, allocations: 195.4 kB / 16.68 MB, free: 5.977 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437.1 MB / 0.7106 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005676/0.2421, allocations: 4.782 MB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5766/0.8187, allocations: 150.6 MB / 1.318 GB, free: 10.28 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.8194, allocations: 18.78 kB / 1.318 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.82, allocations: 179.1 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.8216, allocations: 0.5362 MB / 1.319 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.8233, allocations: 0.8357 MB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.8247, allocations: 1.365 MB / 1.321 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.8255, allocations: 0.5686 MB / 1.321 GB, free: 9.375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.8261, allocations: 478.4 kB / 1.322 GB, free: 9.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.8268, allocations: 0.4902 MB / 1.322 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.8271, allocations: 114.8 kB / 1.322 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008473/0.8279, allocations: 483.2 kB / 1.323 GB, free: 9.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.8282, allocations: 296.3 kB / 1.323 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.8287, allocations: 0.5427 MB / 1.324 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.8305, allocations: 1.623 MB / 1.325 GB, free: 8.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.8305, allocations: 0 / 1.325 GB, free: 8.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8305, allocations: 0 / 1.325 GB, free: 8.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8305, allocations: 0 / 1.325 GB, free: 8.137 MB / 1.014 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.002218/0.8328, allocations: 1.447 MB / 1.327 GB, free: 7.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.8328, allocations: 13.56 kB / 1.327 GB, free: 7.137 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.833, allocations: 136.5 kB / 1.327 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/0.8338, allocations: 185.3 kB / 1.327 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.8348, allocations: 0.7648 MB / 1.328 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.8349, allocations: 63.38 kB / 1.328 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.835, allocations: 81.91 kB / 1.328 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.8364, allocations: 0.9039 MB / 1.329 GB, free: 6.004 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.8364, allocations: 0 / 1.329 GB, free: 6.004 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.8365, allocations: 34.95 kB / 1.329 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8365, allocations: 20.09 kB / 1.329 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.8381, allocations: 1.094 MB / 1.33 GB, free: 5.734 MB / 1.014 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.003381/0.8415, allocations: 2.668 MB / 1.332 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.8428, allocations: 0.8603 MB / 1.333 GB, free: 3.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.8433, allocations: 304.1 kB / 1.334 GB, free: 3.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.757e-05/0.8434, allocations: 38.47 kB / 1.334 GB, free: 3.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007517/0.8441, allocations: 490.3 kB / 1.334 GB, free: 3.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 1.873e-06/0.8442, allocations: 0 / 1.334 GB, free: 3.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002786/0.8469, allocations: 1.191 MB / 1.335 GB, free: 2.871 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8471, allocations: 189.3 kB / 1.335 GB, free: 2.652 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.8477, allocations: 0.6183 MB / 1.336 GB, free: 2.379 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.8478, allocations: 43.08 kB / 1.336 GB, free: 2.336 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.8481, allocations: 399.5 kB / 1.336 GB, free: 2.023 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.8483, allocations: 275.1 kB / 1.337 GB, free: 1.809 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.8485, allocations: 139 kB / 1.337 GB, free: 1.746 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8487, allocations: 389.6 kB / 1.337 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.8491, allocations: 245 kB / 1.337 GB, free: 1.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.8497, allocations: 354.7 kB / 1.338 GB, free: 1.129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.8507, allocations: 0.5744 MB / 1.338 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8507, allocations: 0 / 1.338 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001666/0.8524, allocations: 0.7991 MB / 1.339 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.8524, allocations: 5.281 kB / 1.339 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8524, allocations: 1.156 kB / 1.339 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.8529, allocations: 84.16 kB / 1.339 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.8535, allocations: 145.9 kB / 1.339 GB, free: 0.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.8554, allocations: 1.637 MB / 1.341 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.8559, allocations: 87.88 kB / 1.341 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.856, allocations: 32.61 kB / 1.341 GB, free: 14.91 MB / 1.029 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.0003226/0.8563, allocations: 262.8 kB / 1.341 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.8565, allocations: 93.34 kB / 1.341 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.8586, allocations: 1.042 MB / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.8586, allocations: 12.19 kB / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.8586, allocations: 0 / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.8586, allocations: 3.562 kB / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.8614, allocations: 1.914 MB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.8615, allocations: 2.938 kB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.862, allocations: 142.4 kB / 1.344 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.8624, allocations: 74.84 kB / 1.345 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.8624, allocations: 28.95 kB / 1.345 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.8642, allocations: 1.661 MB / 1.346 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.8642, allocations: 5.062 kB / 1.346 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.866, allocations: 0.9824 MB / 1.347 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.8663, allocations: 276.5 kB / 1.347 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.8665, allocations: 16.56 kB / 1.347 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.8671, allocations: 70.86 kB / 1.348 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8672, allocations: 68.2 kB / 1.348 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.8673, allocations: 35.53 kB / 1.348 GB, free: 11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004916/0.8678, allocations: 453.7 kB / 1.348 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8678, allocations: 3.938 kB / 1.348 GB, free: 10.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007078/0.8685, allocations: 316.2 kB / 1.348 GB, free: 10.71 MB / 1.029 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.003621/0.8721, allocations: 2.038 MB / 1.35 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.8735, allocations: 0.7896 MB / 1.351 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8735, allocations: 1.156 kB / 1.351 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.8743, allocations: 0.5097 MB / 1.352 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8755, allocations: 304.4 kB / 1.352 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.8839, allocations: 6.166 MB / 1.358 GB, free: 5.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.8844, allocations: 1.018 MB / 1.359 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006313/0.8851, allocations: 268.2 kB / 1.359 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.8856, allocations: 378 kB / 1.36 GB, free: 4.523 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.8856, allocations: 0 / 1.36 GB, free: 4.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.549/4.435, allocations: 21.31 MB / 1.38 GB, free: 9.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/22.3, allocations: 7.844 kB / 1.38 GB, free: 9.059 MB / 1.045 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)