Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7506/0.7506, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002004/0.002004, allocations: 192.2 kB / 173.7 MB, free: 6.145 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 86.88 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8.25 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.2797, allocations: 104.1 MB / 0.7371 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.2801, allocations: 99.86 kB / 0.7372 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009081/0.2892, allocations: 3.236 MB / 0.7403 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2892, allocations: 0 / 0.7403 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2892, allocations: 0 / 0.7403 GB, free: 2.902 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005122/0.2897, allocations: 464.3 kB / 0.7408 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.2898, allocations: 12.03 kB / 0.7408 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2899, allocations: 34.56 kB / 0.7408 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.2899, allocations: 15.86 kB / 0.7408 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2902, allocations: 219.5 kB / 0.741 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.2902, allocations: 0 / 0.741 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2902, allocations: 4 kB / 0.741 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.2905, allocations: 127.3 kB / 0.7412 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2905, allocations: 4 kB / 0.7412 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2905, allocations: 4 kB / 0.7412 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2905, allocations: 0 / 0.7412 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2907, allocations: 83.83 kB / 0.7413 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.2911, allocations: 401 kB / 0.7416 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.2913, allocations: 121 kB / 0.7417 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2913, allocations: 0 / 0.7417 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2916, allocations: 174.8 kB / 0.7419 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.093e-06/0.2916, allocations: 0 / 0.7419 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0007085/0.2923, allocations: 458.1 kB / 0.7424 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.2924, allocations: 114.9 kB / 0.7425 GB, free: 456 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2926, allocations: 182.2 kB / 0.7426 GB, free: 268 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.2926, allocations: 25.7 kB / 0.7427 GB, free: 236 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.2927, allocations: 112.1 kB / 0.7428 GB, free: 120 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.2927, allocations: 23.66 kB / 0.7428 GB, free: 96 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.2927, allocations: 4 kB / 0.7428 GB, free: 92 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2984/0.5911, allocations: 325 kB / 0.7431 GB, free: 109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.5914, allocations: 65.5 kB / 0.7432 GB, free: 109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.5915, allocations: 87.17 kB / 0.7432 GB, free: 109 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.5917, allocations: 99.14 kB / 0.7433 GB, free: 109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5917, allocations: 0.8438 kB / 0.7433 GB, free: 109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005291/0.5922, allocations: 307.8 kB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.5923, allocations: 36.72 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5923, allocations: 5.234 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5923, allocations: 3.031 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5924, allocations: 11.41 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5925, allocations: 2.594 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.5925, allocations: 4.797 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.5926, allocations: 13.06 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.5927, allocations: 181.5 kB / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.5928, allocations: 16.09 kB / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5929, allocations: 70.03 kB / 0.744 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5929, allocations: 0 / 0.744 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.593, allocations: 0 / 0.744 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.593, allocations: 5.578 kB / 0.744 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.5931, allocations: 227.8 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5931, allocations: 3.188 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.5932, allocations: 6.844 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5932, allocations: 2.469 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.5932, allocations: 6.688 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5932, allocations: 0.75 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5932, allocations: 5.906 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.5937, allocations: 378.2 kB / 0.7446 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5938, allocations: 114 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.5939, allocations: 6.906 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.5939, allocations: 3.469 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.594, allocations: 9.438 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.594, allocations: 14.28 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001049/0.5941, allocations: 154.8 kB / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5941, allocations: 0 / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002801/0.5944, allocations: 39.47 kB / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007264/0.5951, allocations: 0.9527 MB / 0.7458 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.5954, allocations: 214.5 kB / 0.746 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5955, allocations: 2.719 kB / 0.746 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.5956, allocations: 152.9 kB / 0.7462 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.5958, allocations: 8.562 kB / 0.7462 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.5971, allocations: 1.219 MB / 0.7474 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5973, allocations: 0.723 MB / 0.7481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.5974, allocations: 7.406 kB / 0.7481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.5974, allocations: 38.06 kB / 0.7481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.5974, allocations: 0 / 0.7481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.6121, allocations: 2.776 MB / 0.7508 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.6123, allocations: 212.2 kB / 0.751 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.245, allocations: 0 / 0.751 GB, free: 105.6 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)