Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.00759/0.00759, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00198/0.00198, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 278.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 99.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1709, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00678/0.1777, allocations: 4.505 MB / 0.7703 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5159/0.6937, allocations: 150.7 MB / 0.9174 GB, free: 7.695 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.6951, allocations: 19.88 kB / 0.9175 GB, free: 7.676 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.6961, allocations: 174.3 kB / 0.9176 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.6989, allocations: 0.5175 MB / 0.9181 GB, free: 7.004 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.7014, allocations: 0.88 MB / 0.919 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.7033, allocations: 1.383 MB / 0.9203 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.7044, allocations: 0.6333 MB / 0.921 GB, free: 4.102 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.7053, allocations: 0.4982 MB / 0.9215 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008763/0.7061, allocations: 0.5289 MB / 0.922 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.7065, allocations: 128 kB / 0.9221 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.7077, allocations: 0.5035 MB / 0.9226 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.7081, allocations: 315 kB / 0.9229 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.7089, allocations: 0.5713 MB / 0.9234 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.7115, allocations: 1.706 MB / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.7116, allocations: 0 / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7116, allocations: 0 / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.274e-05/0.7116, allocations: 0 / 0.9251 GB, free: 15.86 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003392/0.715, allocations: 1.54 MB / 0.9266 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7151, allocations: 8.031 kB / 0.9266 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.7153, allocations: 139.8 kB / 0.9268 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7163, allocations: 196 kB / 0.9269 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.7176, allocations: 0.7921 MB / 0.9277 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.7177, allocations: 69.98 kB / 0.9278 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.7178, allocations: 84 kB / 0.9279 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.7196, allocations: 0.9769 MB / 0.9288 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7196, allocations: 0 / 0.9288 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.872e-05/0.7197, allocations: 40 kB / 0.9289 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.7197, allocations: 20.62 kB / 0.9289 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.7216, allocations: 1.159 MB / 0.93 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.7263, allocations: 2.695 MB / 0.9326 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.7285, allocations: 0.9777 MB / 0.9336 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.7291, allocations: 322.7 kB / 0.9339 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.7292, allocations: 36.67 kB / 0.9339 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009599/0.7301, allocations: 0.5296 MB / 0.9344 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.454e-06/0.7302, allocations: 0 / 0.9344 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003407/0.7336, allocations: 1.298 MB / 0.9357 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7337, allocations: 200.7 kB / 0.9359 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.7347, allocations: 0.6528 MB / 0.9365 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.7348, allocations: 41.7 kB / 0.9366 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.7351, allocations: 417.1 kB / 0.937 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.7354, allocations: 289.5 kB / 0.9373 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.7357, allocations: 170.6 kB / 0.9374 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.7359, allocations: 386.8 kB / 0.9378 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.7364, allocations: 269.8 kB / 0.938 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.7371, allocations: 390.5 kB / 0.9384 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.7383, allocations: 0.6242 MB / 0.939 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7383, allocations: 0 / 0.939 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002139/0.7404, allocations: 0.8725 MB / 0.9399 GB, free: 324 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7405, allocations: 4.094 kB / 0.9399 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7405, allocations: 8 kB / 0.9399 GB, free: 312 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.7411, allocations: 84.69 kB / 0.94 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.7418, allocations: 167.8 kB / 0.9401 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.7441, allocations: 1.625 MB / 0.9417 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.7449, allocations: 107.9 kB / 0.9418 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.745, allocations: 35.97 kB / 0.9419 GB, free: 14.15 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0005056/0.7455, allocations: 275.5 kB / 0.9421 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.7457, allocations: 95.44 kB / 0.9422 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.7486, allocations: 1.195 MB / 0.9434 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7486, allocations: 8 kB / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7486, allocations: 0 / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.7486, allocations: 7.984 kB / 0.9434 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.7526, allocations: 2.104 MB / 0.9454 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7526, allocations: 4 kB / 0.9455 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.7533, allocations: 163.8 kB / 0.9456 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.7538, allocations: 72.78 kB / 0.9457 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.7539, allocations: 27.98 kB / 0.9457 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.756, allocations: 1.674 MB / 0.9473 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.756, allocations: 0 / 0.9473 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.7585, allocations: 1.096 MB / 0.9484 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.7589, allocations: 297.1 kB / 0.9487 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.7591, allocations: 23.94 kB / 0.9487 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.7598, allocations: 71.98 kB / 0.9488 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.76, allocations: 84.88 kB / 0.9489 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.7601, allocations: 43.92 kB / 0.9489 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006461/0.7608, allocations: 475 kB / 0.9494 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7608, allocations: 4 kB / 0.9494 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001038/0.7618, allocations: 335.1 kB / 0.9497 GB, free: 5.883 MB / 0.7012 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 (106): * Single equations (assignments): 99 * 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.004373/0.7662, allocations: 2.165 MB / 0.9518 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.7682, allocations: 0.8715 MB / 0.9527 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7682, allocations: 0 / 0.9527 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.7697, allocations: 0.5667 MB / 0.9532 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.7716, allocations: 293 kB / 0.9535 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.7841, allocations: 6.699 MB / 0.96 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.7848, allocations: 1.047 MB / 0.961 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008817/0.7857, allocations: 279 kB / 0.9613 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006166/0.7863, allocations: 415.3 kB / 0.9617 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of SimCode: time 1.253e-06/0.7863, allocations: 0 / 0.9617 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6236/1.41, allocations: 22.57 MB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.29, allocations: 24.11 kB / 0.9838 GB, free: 3.34 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)