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.006774/0.006774, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.001491/0.001491, allocations: 194.8 kB / 16.67 MB, free: 5.48 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.00252, allocations: 288.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 103.8 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4117, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006282/0.418, allocations: 4.435 MB / 0.7702 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.5827, allocations: 150.6 MB / 0.9173 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.5834, allocations: 15.94 kB / 0.9173 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.5839, allocations: 174.3 kB / 0.9175 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.5856, allocations: 0.5262 MB / 0.918 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.5875, allocations: 0.8423 MB / 0.9188 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.5891, allocations: 1.347 MB / 0.9201 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.59, allocations: 0.626 MB / 0.9207 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.5907, allocations: 498.2 kB / 0.9212 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.5914, allocations: 0.5056 MB / 0.9217 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.5916, allocations: 120 kB / 0.9218 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.5925, allocations: 487.6 kB / 0.9223 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.5928, allocations: 307 kB / 0.9226 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.5934, allocations: 0.5674 MB / 0.9231 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.5956, allocations: 1.651 MB / 0.9247 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5956, allocations: 0 / 0.9247 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5956, allocations: 0 / 0.9247 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.5956, allocations: 0 / 0.9247 GB, free: 0.5469 MB / 0.6856 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.002939/0.5986, allocations: 1.496 MB / 0.9262 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5986, allocations: 11.97 kB / 0.9262 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.5988, allocations: 147.6 kB / 0.9263 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.5998, allocations: 188 kB / 0.9265 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6011, allocations: 0.7901 MB / 0.9273 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.6012, allocations: 62 kB / 0.9274 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6013, allocations: 88 kB / 0.9274 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.603, allocations: 0.9457 MB / 0.9284 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.603, allocations: 0 / 0.9284 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.6031, allocations: 40 kB / 0.9284 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.6031, allocations: 20 kB / 0.9284 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.605, allocations: 1.124 MB / 0.9295 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.6096, allocations: 2.535 MB / 0.932 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.6114, allocations: 0.915 MB / 0.9329 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.612, allocations: 310.7 kB / 0.9332 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/0.6121, allocations: 36.67 kB / 0.9332 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/0.613, allocations: 0.5177 MB / 0.9337 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 3.106e-06/0.613, allocations: 0 / 0.9337 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003661/0.6167, allocations: 1.255 MB / 0.9349 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.6169, allocations: 192.9 kB / 0.9351 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.6179, allocations: 0.645 MB / 0.9358 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.618, allocations: 45.7 kB / 0.9358 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.6184, allocations: 409.1 kB / 0.9362 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.6187, allocations: 285.5 kB / 0.9365 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.6189, allocations: 162.6 kB / 0.9366 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.6191, allocations: 382.8 kB / 0.937 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.6197, allocations: 257.9 kB / 0.9372 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.6203, allocations: 379.4 kB / 0.9376 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.6215, allocations: 0.6094 MB / 0.9382 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6215, allocations: 0 / 0.9382 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002095/0.6236, allocations: 0.8374 MB / 0.939 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.6237, allocations: 15.92 kB / 0.939 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6237, allocations: 0 / 0.939 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/0.6243, allocations: 80.91 kB / 0.9391 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.625, allocations: 167.7 kB / 0.9393 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.6273, allocations: 1.63 MB / 0.9409 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/0.628, allocations: 106.6 kB / 0.941 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.6281, allocations: 31.92 kB / 0.941 GB, free: 15.34 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.0004782/0.6286, allocations: 272 kB / 0.9412 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6288, allocations: 87.44 kB / 0.9413 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.6314, allocations: 1.14 MB / 0.9424 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6314, allocations: 12 kB / 0.9425 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6314, allocations: 4 kB / 0.9425 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6314, allocations: 7.969 kB / 0.9425 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.635, allocations: 2.033 MB / 0.9445 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.635, allocations: 0 / 0.9445 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.6356, allocations: 151.8 kB / 0.9446 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.6361, allocations: 76.78 kB / 0.9447 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.6362, allocations: 27.97 kB / 0.9447 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.6382, allocations: 1.666 MB / 0.9463 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6383, allocations: 0 / 0.9463 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.6406, allocations: 1.057 MB / 0.9474 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.641, allocations: 280.2 kB / 0.9476 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6411, allocations: 20 kB / 0.9476 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6418, allocations: 71.92 kB / 0.9477 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.642, allocations: 72.89 kB / 0.9478 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.6421, allocations: 39.97 kB / 0.9478 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006369/0.6427, allocations: 467 kB / 0.9483 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6428, allocations: 3.938 kB / 0.9483 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001014/0.6438, allocations: 327.1 kB / 0.9486 GB, free: 7.301 MB / 0.7169 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.00421/0.648, allocations: 2.116 MB / 0.9506 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.6498, allocations: 0.843 MB / 0.9515 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6498, allocations: 8 kB / 0.9515 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.6508, allocations: 0.5314 MB / 0.952 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.6521, allocations: 299.3 kB / 0.9523 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/0.9698, allocations: 6.521 MB / 0.9586 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.9703, allocations: 1.038 MB / 0.9597 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008088/0.9711, allocations: 270.8 kB / 0.9599 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.9716, allocations: 397.5 kB / 0.9603 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/0.9716, allocations: 0 / 0.9603 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/1.021, allocations: 21.92 MB / 0.9817 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.52, allocations: 24.44 kB / 0.9817 GB, free: 170.8 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)