Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.005442/0.005442, allocations: 100.9 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.001494/0.001494, allocations: 192.5 kB / 16.67 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 279.2 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.149/1.149, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 99.83 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3942, allocations: 89.13 MB / 0.7813 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006958/0.4012, allocations: 4.94 MB / 0.7861 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1752/0.5764, allocations: 150.7 MB / 0.9333 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.5774, allocations: 15.94 kB / 0.9333 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.5782, allocations: 186.2 kB / 0.9335 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.5804, allocations: 0.5573 MB / 0.934 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.5827, allocations: 0.8577 MB / 0.9348 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.5847, allocations: 1.432 MB / 0.9362 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5857, allocations: 0.5907 MB / 0.9368 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008042/0.5865, allocations: 0.4944 MB / 0.9373 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.5873, allocations: 0.5211 MB / 0.9378 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.5875, allocations: 123.9 kB / 0.9379 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.5885, allocations: 491.6 kB / 0.9384 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.5889, allocations: 307.1 kB / 0.9387 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.5895, allocations: 0.5791 MB / 0.9393 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.5918, allocations: 1.669 MB / 0.9409 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5918, allocations: 0 / 0.9409 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.744e-05/0.5918, allocations: 0 / 0.9409 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.5918, allocations: 3.938 kB / 0.9409 GB, free: 4.75 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002863/0.5947, allocations: 1.505 MB / 0.9424 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5948, allocations: 12.03 kB / 0.9424 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.595, allocations: 139.5 kB / 0.9425 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009296/0.5959, allocations: 196.1 kB / 0.9427 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5971, allocations: 0.7823 MB / 0.9435 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.5972, allocations: 66 kB / 0.9435 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5973, allocations: 84 kB / 0.9436 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.599, allocations: 0.9535 MB / 0.9445 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5991, allocations: 0 / 0.9445 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.5992, allocations: 32 kB / 0.9446 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.5992, allocations: 24 kB / 0.9446 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.6012, allocations: 1.132 MB / 0.9457 GB, free: 15.7 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.0043/0.6055, allocations: 2.744 MB / 0.9484 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.6072, allocations: 0.9127 MB / 0.9493 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.6078, allocations: 322.2 kB / 0.9496 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.6079, allocations: 36.67 kB / 0.9496 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009534/0.6088, allocations: 0.5122 MB / 0.9501 GB, free: 11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.816e-06/0.6089, allocations: 0 / 0.9501 GB, free: 11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.003427/0.6123, allocations: 1.263 MB / 0.9513 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.6124, allocations: 196.9 kB / 0.9515 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.6133, allocations: 0.6333 MB / 0.9521 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.6134, allocations: 53.64 kB / 0.9522 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.6138, allocations: 409 kB / 0.9526 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.6141, allocations: 285.6 kB / 0.9529 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.6143, allocations: 154.6 kB / 0.953 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6145, allocations: 394.7 kB / 0.9534 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.6151, allocations: 253.9 kB / 0.9536 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.6158, allocations: 379.3 kB / 0.954 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.617, allocations: 0.6134 MB / 0.9546 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.617, allocations: 4 kB / 0.9546 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002066/0.6191, allocations: 0.8374 MB / 0.9554 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6191, allocations: 7.938 kB / 0.9554 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6191, allocations: 4 kB / 0.9554 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.6198, allocations: 84.89 kB / 0.9555 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.6204, allocations: 163.8 kB / 0.9556 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.6227, allocations: 1.634 MB / 0.9572 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.6235, allocations: 106.5 kB / 0.9573 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.6236, allocations: 31.92 kB / 0.9574 GB, free: 3.246 MB / 0.7169 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.000457/0.624, allocations: 273.4 kB / 0.9576 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.6242, allocations: 87.44 kB / 0.9577 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.6269, allocations: 1.14 MB / 0.9588 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6269, allocations: 8 kB / 0.9588 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6269, allocations: 4 kB / 0.9588 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.6269, allocations: 11.97 kB / 0.9589 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.6306, allocations: 2.029 MB / 0.9608 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6306, allocations: 4 kB / 0.9608 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.6312, allocations: 151.8 kB / 0.961 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.6317, allocations: 80.72 kB / 0.9611 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.6318, allocations: 27.98 kB / 0.9611 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.6339, allocations: 1.65 MB / 0.9627 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6339, allocations: 0 / 0.9627 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.6362, allocations: 1.057 MB / 0.9637 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.6366, allocations: 284.1 kB / 0.964 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6367, allocations: 27.95 kB / 0.964 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.6374, allocations: 63.92 kB / 0.9641 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6376, allocations: 81.03 kB / 0.9642 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.6377, allocations: 47.89 kB / 0.9642 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006188/0.6383, allocations: 467 kB / 0.9647 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6383, allocations: 0 / 0.9647 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00089/0.6392, allocations: 331.1 kB / 0.965 GB, free: 11.19 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,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.004299/0.6436, allocations: 2.1 MB / 0.967 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.6454, allocations: 0.8351 MB / 0.9678 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6455, allocations: 4.25 kB / 0.9678 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6465, allocations: 0.547 MB / 0.9684 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.6479, allocations: 305.4 kB / 0.9687 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6589, allocations: 6.431 MB / 0.975 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.6597, allocations: 1.036 MB / 0.976 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008586/0.6606, allocations: 274.9 kB / 0.9762 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.6612, allocations: 395.3 kB / 0.9766 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.6612, allocations: 4 kB / 0.9766 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3543/1.016, allocations: 22.3 MB / 0.9984 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.83, allocations: 3.094 kB / 0.9984 GB, free: 198.9 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)