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.005626/0.005627, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001088/0.001088, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.264/1.264, 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.002139/0.002139, allocations: 292.9 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 0.9171/0.9171, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 91.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4011, allocations: 86.97 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00601/0.4071, allocations: 4.438 MB / 0.7702 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1558/0.563, allocations: 150.6 MB / 0.9173 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.5638, allocations: 19.88 kB / 0.9173 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.5645, allocations: 174.3 kB / 0.9175 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.5665, allocations: 0.5171 MB / 0.918 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.5686, allocations: 0.8405 MB / 0.9188 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.5703, allocations: 1.347 MB / 0.9201 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5715, allocations: 0.6337 MB / 0.9207 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.5724, allocations: 494.2 kB / 0.9212 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.5732, allocations: 0.5056 MB / 0.9217 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.5735, allocations: 123.9 kB / 0.9218 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5746, allocations: 487.6 kB / 0.9223 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.5749, allocations: 303 kB / 0.9226 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007306/0.5757, allocations: 0.5712 MB / 0.9231 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5779, allocations: 1.635 MB / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5779, allocations: 0 / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5779, allocations: 0 / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.103e-05/0.5779, allocations: 0 / 0.9247 GB, free: 0.5273 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.002754/0.5807, allocations: 1.452 MB / 0.9261 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5807, allocations: 8.031 kB / 0.9261 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.5809, allocations: 139.6 kB / 0.9263 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.5818, allocations: 191.3 kB / 0.9265 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5831, allocations: 0.7817 MB / 0.9272 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.5831, allocations: 66 kB / 0.9273 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5833, allocations: 84 kB / 0.9274 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5848, allocations: 0.9456 MB / 0.9283 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5848, allocations: 0 / 0.9283 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.5849, allocations: 43.98 kB / 0.9283 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5849, allocations: 24 kB / 0.9284 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.5866, allocations: 1.128 MB / 0.9295 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.5907, allocations: 2.53 MB / 0.9319 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5923, allocations: 0.9032 MB / 0.9328 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.5929, allocations: 314.7 kB / 0.9331 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.5929, allocations: 36.67 kB / 0.9331 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.5938, allocations: 0.5235 MB / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 2.595e-06/0.5938, allocations: 0 / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003198/0.597, allocations: 1.259 MB / 0.9349 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5972, allocations: 192.9 kB / 0.9351 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/0.5981, allocations: 0.6333 MB / 0.9357 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.5981, allocations: 45.7 kB / 0.9357 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5985, allocations: 408.4 kB / 0.9361 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5987, allocations: 276 kB / 0.9364 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.5989, allocations: 154.5 kB / 0.9365 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5991, allocations: 386.8 kB / 0.9369 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.5996, allocations: 253.9 kB / 0.9371 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.6002, allocations: 383.4 kB / 0.9375 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6013, allocations: 0.6132 MB / 0.9381 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6013, allocations: 0 / 0.9381 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001911/0.6032, allocations: 0.8408 MB / 0.9389 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6033, allocations: 11.94 kB / 0.9389 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6033, allocations: 0 / 0.9389 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.6039, allocations: 84.89 kB / 0.939 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.6045, allocations: 155.8 kB / 0.9392 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.6066, allocations: 1.63 MB / 0.9408 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.6074, allocations: 93.92 kB / 0.9408 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.6075, allocations: 39.91 kB / 0.9409 GB, free: 15.4 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.0005133/0.608, allocations: 273.3 kB / 0.9411 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.6083, allocations: 86.95 kB / 0.9412 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.6108, allocations: 1.14 MB / 0.9423 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.6108, allocations: 15.94 kB / 0.9424 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.6108, allocations: 0 / 0.9424 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6108, allocations: 3.984 kB / 0.9424 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.6144, allocations: 2.033 MB / 0.9443 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6144, allocations: 4 kB / 0.9443 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.6151, allocations: 155.8 kB / 0.9445 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.6155, allocations: 72.78 kB / 0.9446 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.6156, allocations: 27.98 kB / 0.9446 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.6174, allocations: 1.658 MB / 0.9462 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6175, allocations: 4 kB / 0.9462 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6197, allocations: 1.056 MB / 0.9472 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.6202, allocations: 279.6 kB / 0.9475 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.6204, allocations: 20 kB / 0.9475 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.6211, allocations: 67.92 kB / 0.9476 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6213, allocations: 72.89 kB / 0.9477 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.6214, allocations: 43.97 kB / 0.9477 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006273/0.622, allocations: 467 kB / 0.9482 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.622, allocations: 0 / 0.9482 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009109/0.6229, allocations: 315.2 kB / 0.9485 GB, free: 7.383 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.003608/0.6265, allocations: 2.09 MB / 0.9505 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.6284, allocations: 0.8427 MB / 0.9513 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6284, allocations: 4 kB / 0.9513 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6294, allocations: 0.5512 MB / 0.9519 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.6309, allocations: 300.2 kB / 0.9521 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3248/0.9557, allocations: 6.496 MB / 0.9585 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.9564, allocations: 1.035 MB / 0.9595 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008823/0.9573, allocations: 268.3 kB / 0.9598 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.9578, allocations: 401.7 kB / 0.9601 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/0.9578, allocations: 0 / 0.9601 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/1.001, allocations: 21.76 MB / 0.9814 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.47, allocations: 9.625 kB / 0.9814 GB, free: 171.2 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)