Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005529/0.00553, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001462/0.001462, allocations: 201 kB / 16.68 MB, free: 5.969 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.001671, allocations: 63.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005946/0.2577, allocations: 4.949 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6004/0.8582, allocations: 150.6 MB / 1.372 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.8588, allocations: 19.5 kB / 1.372 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.8593, allocations: 187.2 kB / 1.372 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.8606, allocations: 0.5657 MB / 1.373 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.8622, allocations: 0.8469 MB / 1.374 GB, free: 10 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.8633, allocations: 1.428 MB / 1.375 GB, free: 9.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.864, allocations: 0.6 MB / 1.376 GB, free: 8.945 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.8645, allocations: 0.4921 MB / 1.376 GB, free: 8.703 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.8651, allocations: 0.5196 MB / 1.377 GB, free: 8.434 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.8652, allocations: 117.8 kB / 1.377 GB, free: 8.434 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.8659, allocations: 491 kB / 1.377 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.8661, allocations: 306.3 kB / 1.378 GB, free: 8.121 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.8666, allocations: 0.5734 MB / 1.378 GB, free: 7.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.8681, allocations: 1.679 MB / 1.38 GB, free: 6.812 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8681, allocations: 1 kB / 1.38 GB, free: 6.812 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8681, allocations: 0 / 1.38 GB, free: 6.812 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8682, allocations: 0 / 1.38 GB, free: 6.812 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002285/0.8705, allocations: 1.515 MB / 1.381 GB, free: 5.613 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.8705, allocations: 9.531 kB / 1.381 GB, free: 5.613 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.8706, allocations: 134.4 kB / 1.381 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000803/0.8714, allocations: 197.5 kB / 1.382 GB, free: 5.406 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.8725, allocations: 0.7816 MB / 1.382 GB, free: 4.766 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.8726, allocations: 70.28 kB / 1.382 GB, free: 4.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.8727, allocations: 80 kB / 1.382 GB, free: 4.707 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.8741, allocations: 0.9446 MB / 1.383 GB, free: 4.102 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.8741, allocations: 4.688 kB / 1.383 GB, free: 4.098 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.8742, allocations: 40.86 kB / 1.383 GB, free: 4.066 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.8742, allocations: 21.88 kB / 1.383 GB, free: 4.066 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.8759, allocations: 1.129 MB / 1.385 GB, free: 3.523 MB / 1.076 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.003605/0.8795, allocations: 2.745 MB / 1.387 GB, free: 1.328 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.881, allocations: 0.9066 MB / 1.388 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.8815, allocations: 322.8 kB / 1.388 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.8816, allocations: 31.38 kB / 1.388 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008097/0.8824, allocations: 0.5213 MB / 1.389 GB, free: 312 kB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 1.743e-06/0.8824, allocations: 0 / 1.389 GB, free: 312 kB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002993/0.8854, allocations: 1.267 MB / 1.39 GB, free: 15.62 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.8855, allocations: 190 kB / 1.39 GB, free: 15.4 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.8862, allocations: 0.6429 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.8863, allocations: 43.83 kB / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.8866, allocations: 414 kB / 1.391 GB, free: 14.62 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.8868, allocations: 283.2 kB / 1.392 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.8871, allocations: 158.6 kB / 1.392 GB, free: 14.28 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.8873, allocations: 385.9 kB / 1.392 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.8877, allocations: 267 kB / 1.392 GB, free: 13.77 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.8883, allocations: 371.7 kB / 1.393 GB, free: 13.54 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.8894, allocations: 0.615 MB / 1.393 GB, free: 13.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8894, allocations: 1.438 kB / 1.393 GB, free: 13.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001761/0.8912, allocations: 0.8374 MB / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8912, allocations: 6.062 kB / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8912, allocations: 9.281 kB / 1.394 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005338/0.8917, allocations: 88.69 kB / 1.394 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.8923, allocations: 159.8 kB / 1.394 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.8943, allocations: 1.627 MB / 1.396 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.8948, allocations: 86.95 kB / 1.396 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.8949, allocations: 36.56 kB / 1.396 GB, free: 11 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003284/0.8952, allocations: 272.8 kB / 1.396 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.8954, allocations: 97.12 kB / 1.397 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.8977, allocations: 1.142 MB / 1.398 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8977, allocations: 14 kB / 1.398 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8977, allocations: 0 / 1.398 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.8977, allocations: 3.984 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.9007, allocations: 2.024 MB / 1.4 GB, free: 8.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.9007, allocations: 1.281 kB / 1.4 GB, free: 8.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.9013, allocations: 154.9 kB / 1.4 GB, free: 8.723 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.9017, allocations: 70.39 kB / 1.4 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.9018, allocations: 32.56 kB / 1.4 GB, free: 8.664 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.9036, allocations: 1.677 MB / 1.402 GB, free: 7.031 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.9036, allocations: 0 / 1.402 GB, free: 7.031 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.9054, allocations: 1.046 MB / 1.403 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.9057, allocations: 290.6 kB / 1.403 GB, free: 6.199 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.9058, allocations: 20.81 kB / 1.403 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.9065, allocations: 75.23 kB / 1.403 GB, free: 6.145 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.9066, allocations: 76.8 kB / 1.403 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.9067, allocations: 33.77 kB / 1.403 GB, free: 6.098 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004793/0.9072, allocations: 469.6 kB / 1.403 GB, free: 5.832 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9072, allocations: 0 / 1.403 GB, free: 5.832 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006906/0.9079, allocations: 333.7 kB / 1.404 GB, free: 5.734 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003673/0.9115, allocations: 2.11 MB / 1.406 GB, free: 4.414 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.9129, allocations: 0.839 MB / 1.407 GB, free: 3.977 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.913, allocations: 1.906 kB / 1.407 GB, free: 3.977 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.9138, allocations: 0.5476 MB / 1.407 GB, free: 3.664 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9149, allocations: 317.8 kB / 1.408 GB, free: 3.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008922/0.9239, allocations: 6.421 MB / 1.414 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.9245, allocations: 1.042 MB / 1.415 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006853/0.9252, allocations: 270.8 kB / 1.415 GB, free: 12.93 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/0.9257, allocations: 407.2 kB / 1.415 GB, free: 12.53 MB / 1.107 GB Notification: Performance of SimCode: time 2.41e-07/0.9257, allocations: 0 / 1.415 GB, free: 12.53 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.172/3.097, allocations: 22.27 MB / 1.437 GB, free: 6.609 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.53/20.63, allocations: 7.984 kB / 1.437 GB, free: 6.602 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)