Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.0009058/0.0009058, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009446/0.0009447, allocations: 180.1 kB / 16.92 MB, free: 6.688 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.227/1.227, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6376/0.6376, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 8.531 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 77.54 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005052/0.1292, allocations: 4.497 MB / 0.5644 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3633/0.4925, allocations: 146.7 MB / 0.7077 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.4932, allocations: 15.94 kB / 0.7077 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.4937, allocations: 150.8 kB / 0.7079 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.4951, allocations: 482.1 kB / 0.7083 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4966, allocations: 0.7441 MB / 0.7091 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.498, allocations: 1.335 MB / 0.7104 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007681/0.4988, allocations: 0.5605 MB / 0.7109 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.4993, allocations: 370.3 kB / 0.7113 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.4998, allocations: 413.7 kB / 0.7117 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.4999, allocations: 28 kB / 0.7117 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.5006, allocations: 367.6 kB / 0.712 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.5008, allocations: 191.1 kB / 0.7122 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.5012, allocations: 486.8 kB / 0.7127 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.5026, allocations: 1.538 MB / 0.7142 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5026, allocations: 0 / 0.7142 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5026, allocations: 0 / 0.7142 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.5026, allocations: 0 / 0.7142 GB, free: 8.867 MB / 0.5294 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.002196/0.5048, allocations: 1.25 MB / 0.7154 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5049, allocations: 12.03 kB / 0.7154 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.5051, allocations: 135.6 kB / 0.7156 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.506, allocations: 203.3 kB / 0.7158 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.5069, allocations: 0.7623 MB / 0.7165 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.507, allocations: 66 kB / 0.7166 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5071, allocations: 87.92 kB / 0.7166 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.5086, allocations: 0.9457 MB / 0.7176 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5086, allocations: 11.17 kB / 0.7176 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.5087, allocations: 36 kB / 0.7176 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.5088, allocations: 24 kB / 0.7176 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.5104, allocations: 1.136 MB / 0.7187 GB, free: 4.074 MB / 0.5294 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.003683/0.5141, allocations: 2.792 MB / 0.7215 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5156, allocations: 0.9188 MB / 0.7224 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.5161, allocations: 326.6 kB / 0.7227 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.5162, allocations: 36.62 kB / 0.7227 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008377/0.5171, allocations: 0.5159 MB / 0.7232 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 2.634e-06/0.5171, allocations: 0 / 0.7232 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.003039/0.5201, allocations: 1.274 MB / 0.7245 GB, free: 14.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.5202, allocations: 188.9 kB / 0.7246 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.521, allocations: 0.6488 MB / 0.7253 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.521, allocations: 41.7 kB / 0.7253 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.5213, allocations: 412.3 kB / 0.7257 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.5215, allocations: 272.1 kB / 0.726 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.5216, allocations: 61.69 kB / 0.726 GB, free: 12.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5218, allocations: 386.8 kB / 0.7264 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.5222, allocations: 257.9 kB / 0.7266 GB, free: 11.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.5228, allocations: 391.3 kB / 0.727 GB, free: 11.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5239, allocations: 0.6212 MB / 0.7276 GB, free: 10.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5239, allocations: 0 / 0.7276 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001758/0.5257, allocations: 0.8448 MB / 0.7284 GB, free: 9.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5257, allocations: 7.938 kB / 0.7285 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5257, allocations: 4 kB / 0.7285 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.5263, allocations: 84.89 kB / 0.7285 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.5269, allocations: 159.8 kB / 0.7287 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.5287, allocations: 1.532 MB / 0.7302 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.5294, allocations: 102.4 kB / 0.7303 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.5294, allocations: 39.97 kB / 0.7303 GB, free: 7.738 MB / 0.545 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.0003237/0.5298, allocations: 261.6 kB / 0.7306 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.5299, allocations: 90.95 kB / 0.7307 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5322, allocations: 1.151 MB / 0.7318 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5322, allocations: 8 kB / 0.7318 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5322, allocations: 0 / 0.7318 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5322, allocations: 7.922 kB / 0.7318 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.5352, allocations: 2.034 MB / 0.7338 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5353, allocations: 0 / 0.7338 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.5358, allocations: 171.7 kB / 0.7339 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.5364, allocations: 80.78 kB / 0.734 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.5364, allocations: 27.97 kB / 0.7341 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.5381, allocations: 1.548 MB / 0.7356 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5381, allocations: 3.984 kB / 0.7356 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.54, allocations: 1.062 MB / 0.7366 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.5403, allocations: 299.6 kB / 0.7369 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5404, allocations: 23.94 kB / 0.7369 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5411, allocations: 91.22 kB / 0.737 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5413, allocations: 84.88 kB / 0.7371 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.5414, allocations: 31.98 kB / 0.7371 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004933/0.5419, allocations: 471 kB / 0.7376 GB, free: 76 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5419, allocations: 0 / 0.7376 GB, free: 76 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007381/0.5426, allocations: 323.4 kB / 0.7379 GB, free: 15.76 MB / 0.5606 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.003218/0.5458, allocations: 2.111 MB / 0.7399 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.5473, allocations: 0.8514 MB / 0.7408 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5474, allocations: 0 / 0.7408 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.5482, allocations: 0.5393 MB / 0.7413 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5494, allocations: 278.3 kB / 0.7416 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5599, allocations: 7.097 MB / 0.7485 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5605, allocations: 1.036 MB / 0.7495 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007537/0.5612, allocations: 263 kB / 0.7497 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.5618, allocations: 395.3 kB / 0.7501 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5618, allocations: 0 / 0.7501 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/0.7192, allocations: 20.89 MB / 0.7705 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.7195, allocations: 308.9 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.967, allocations: 0 / 0.7708 GB, free: 14.32 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)