Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.005636/0.005636, allocations: 102.1 kB / 15.73 MB, free: 6 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.001497/0.001497, allocations: 184.2 kB / 16.67 MB, free: 5.926 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 283.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.5 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 99.84 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.375, allocations: 89.12 MB / 0.7813 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006693/0.3817, allocations: 5.354 MB / 0.7866 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.5482, allocations: 150.8 MB / 0.9338 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.5492, allocations: 15.94 kB / 0.9338 GB, free: 12 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.5499, allocations: 210 kB / 0.934 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.552, allocations: 0.6011 MB / 0.9346 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5542, allocations: 0.898 MB / 0.9355 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.5563, allocations: 1.557 MB / 0.937 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.5574, allocations: 0.6727 MB / 0.9377 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.5583, allocations: 0.5567 MB / 0.9382 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008531/0.5592, allocations: 0.5913 MB / 0.9388 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.5595, allocations: 136 kB / 0.9389 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.5606, allocations: 0.5152 MB / 0.9394 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.561, allocations: 338.9 kB / 0.9398 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.5617, allocations: 0.6569 MB / 0.9404 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.5643, allocations: 1.859 MB / 0.9422 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5643, allocations: 4 kB / 0.9422 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5643, allocations: 3.938 kB / 0.9422 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.493e-05/0.5644, allocations: 0 / 0.9422 GB, free: 3.379 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003196/0.5676, allocations: 1.622 MB / 0.9438 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5677, allocations: 12.03 kB / 0.9438 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.5679, allocations: 156.5 kB / 0.944 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.5689, allocations: 208 kB / 0.9442 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.5703, allocations: 0.8329 MB / 0.945 GB, free: 460 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.5704, allocations: 73.95 kB / 0.945 GB, free: 384 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.5705, allocations: 96 kB / 0.9451 GB, free: 288 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.5725, allocations: 1.067 MB / 0.9462 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5726, allocations: 0 / 0.9462 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.5727, allocations: 40 kB / 0.9462 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.5727, allocations: 24 kB / 0.9462 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.5749, allocations: 1.229 MB / 0.9474 GB, free: 13.86 MB / 0.7169 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.005189/0.5801, allocations: 3.173 MB / 0.9505 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5818, allocations: 0.8976 MB / 0.9514 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.5825, allocations: 347.6 kB / 0.9517 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.5826, allocations: 33.03 kB / 0.9518 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5836, allocations: 0.5514 MB / 0.9523 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=92): time 2.495e-06/0.5836, allocations: 0 / 0.9523 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.003611/0.5872, allocations: 1.349 MB / 0.9536 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5874, allocations: 192.9 kB / 0.9538 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/0.5883, allocations: 0.6726 MB / 0.9545 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.5884, allocations: 53.69 kB / 0.9545 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.5888, allocations: 449.1 kB / 0.955 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5891, allocations: 313.3 kB / 0.9553 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.5894, allocations: 170.6 kB / 0.9554 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5896, allocations: 394.7 kB / 0.9558 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.5902, allocations: 285.9 kB / 0.9561 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.591, allocations: 406.5 kB / 0.9565 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.5922, allocations: 0.6555 MB / 0.9571 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5923, allocations: 4 kB / 0.9571 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002189/0.5944, allocations: 0.9154 MB / 0.958 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5945, allocations: 8.094 kB / 0.958 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5945, allocations: 0 / 0.958 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.5951, allocations: 80.77 kB / 0.9581 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.5958, allocations: 183.7 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.598, allocations: 1.63 MB / 0.9598 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.5988, allocations: 110.2 kB / 0.9599 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.5989, allocations: 35.92 kB / 0.96 GB, free: 0.5391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0005002/0.5994, allocations: 287.5 kB / 0.9603 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.5996, allocations: 99.39 kB / 0.9604 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.6025, allocations: 1.223 MB / 0.9615 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.6025, allocations: 12 kB / 0.9616 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6025, allocations: 0 / 0.9616 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6025, allocations: 7.969 kB / 0.9616 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6038, allocations: 1.02 MB / 0.9626 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6038, allocations: 4 kB / 0.9626 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.6045, allocations: 163.8 kB / 0.9627 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.605, allocations: 72.78 kB / 0.9628 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/0.6051, allocations: 31.97 kB / 0.9628 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.6071, allocations: 1.666 MB / 0.9644 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6071, allocations: 0 / 0.9644 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.6094, allocations: 1.057 MB / 0.9655 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.6099, allocations: 300.1 kB / 0.9658 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6101, allocations: 24 kB / 0.9658 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.6107, allocations: 63.92 kB / 0.9658 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.6109, allocations: 80.89 kB / 0.9659 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.611, allocations: 39.97 kB / 0.966 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006719/0.6117, allocations: 0.499 MB / 0.9665 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6117, allocations: 0 / 0.9665 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009329/0.6127, allocations: 367.1 kB / 0.9668 GB, free: 9.297 MB / 0.7325 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.004421/0.6171, allocations: 2.119 MB / 0.9689 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.6191, allocations: 0.9014 MB / 0.9698 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6191, allocations: 0 / 0.9698 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6202, allocations: 0.5784 MB / 0.9703 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6216, allocations: 319.1 kB / 0.9706 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.6334, allocations: 6.85 MB / 0.9773 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.6342, allocations: 1.075 MB / 0.9784 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.6351, allocations: 303.6 kB / 0.9786 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/0.6358, allocations: 439.2 kB / 0.9791 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.6358, allocations: 0 / 0.9791 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.357/0.9928, allocations: 24.13 MB / 1.003 GB, free: 198.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.02, allocations: 2.484 kB / 1.003 GB, free: 198.3 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)