Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 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.00161/0.00161, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.244/2.244, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4668, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005721/0.4726, allocations: 4.95 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.6024, allocations: 150.6 MB / 1.169 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.6031, allocations: 19.88 kB / 1.169 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.6037, allocations: 194.2 kB / 1.17 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.6053, allocations: 0.5709 MB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.607, allocations: 0.8458 MB / 1.171 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.6084, allocations: 1.417 MB / 1.172 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.6091, allocations: 0.5923 MB / 1.173 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.6097, allocations: 0.4944 MB / 1.173 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.6103, allocations: 0.5212 MB / 1.174 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.6105, allocations: 116 kB / 1.174 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.6112, allocations: 471.6 kB / 1.174 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.6115, allocations: 303 kB / 1.175 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.612, allocations: 0.5713 MB / 1.175 GB, free: 340 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.6135, allocations: 1.632 MB / 1.177 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6135, allocations: 4 kB / 1.177 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6135, allocations: 4 kB / 1.177 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.6136, allocations: 0 / 1.177 GB, free: 14.69 MB / 0.9356 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.002477/0.616, allocations: 1.466 MB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6161, allocations: 15.97 kB / 1.178 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.6162, allocations: 139.5 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.6171, allocations: 187.4 kB / 1.179 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.6181, allocations: 0.7544 MB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.6181, allocations: 66 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.6182, allocations: 87.94 kB / 1.18 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.6197, allocations: 0.9457 MB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6197, allocations: 0 / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.6198, allocations: 39.98 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.6198, allocations: 24 kB / 1.181 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.6215, allocations: 1.132 MB / 1.182 GB, free: 9.695 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.003552/0.625, allocations: 2.757 MB / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6265, allocations: 0.9046 MB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.627, allocations: 322.6 kB / 1.186 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.6271, allocations: 32.69 kB / 1.186 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008313/0.6279, allocations: 0.5158 MB / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.074e-06/0.6279, allocations: 0 / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003032/0.631, allocations: 1.259 MB / 1.187 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.6311, allocations: 196.9 kB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.6317, allocations: 0.6372 MB / 1.188 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.6318, allocations: 41.7 kB / 1.188 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.6321, allocations: 404.4 kB / 1.189 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.6323, allocations: 272.1 kB / 1.189 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.6325, allocations: 154.5 kB / 1.189 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6326, allocations: 394.7 kB / 1.189 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.6331, allocations: 257.8 kB / 1.19 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.6337, allocations: 375.5 kB / 1.19 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.6347, allocations: 0.6172 MB / 1.19 GB, free: 300 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6347, allocations: 4 kB / 1.191 GB, free: 296 kB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001792/0.6365, allocations: 0.8331 MB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6366, allocations: 7.938 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6366, allocations: 4 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.6371, allocations: 84.89 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.6378, allocations: 159.7 kB / 1.192 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6396, allocations: 1.646 MB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.6402, allocations: 96.88 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.6403, allocations: 39.91 kB / 1.193 GB, free: 13.26 MB / 0.9512 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.0003081/0.6406, allocations: 257.7 kB / 1.194 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.6408, allocations: 90.95 kB / 1.194 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.6431, allocations: 1.148 MB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6431, allocations: 8 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6431, allocations: 0 / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6431, allocations: 3.984 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.6461, allocations: 2.031 MB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6461, allocations: 0 / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.6467, allocations: 159.7 kB / 1.197 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.6471, allocations: 68.8 kB / 1.197 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.6472, allocations: 35.97 kB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.6489, allocations: 1.658 MB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6489, allocations: 0 / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6508, allocations: 1.047 MB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.6511, allocations: 283.6 kB / 1.2 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6512, allocations: 28 kB / 1.2 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.6519, allocations: 63.92 kB / 1.2 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.652, allocations: 76.89 kB / 1.2 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.6521, allocations: 35.98 kB / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004868/0.6526, allocations: 475 kB / 1.201 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6526, allocations: 4 kB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006993/0.6533, allocations: 323.2 kB / 1.201 GB, free: 5.23 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: 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.003234/0.6565, allocations: 2.109 MB / 1.203 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.6587, allocations: 1.058 MB / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6588, allocations: 0 / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008786/0.6596, allocations: 0.551 MB / 1.205 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6608, allocations: 303.8 kB / 1.205 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009018/0.6698, allocations: 6.633 MB / 1.211 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.6703, allocations: 1.042 MB / 1.212 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007337/0.6711, allocations: 278.9 kB / 1.213 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/0.6716, allocations: 395.2 kB / 1.213 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.6716, allocations: 8 kB / 1.213 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/1.001, allocations: 22.02 MB / 1.234 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.42, allocations: 9.938 kB / 1.234 GB, free: 3.184 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)