Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 141.8 MB / 149.3 MB, free: 9.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.4 kB / 182.2 MB, free: 9.395 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 91.86 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002077, allocations: 268.2 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.056e-05, allocations: 4 kB / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5174, allocations: 82.77 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.69, allocations: 109.4 MB / 0.8643 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6903, allocations: 87.94 kB / 0.8643 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009383/0.6997, allocations: 3.251 MB / 0.8675 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.346e-06/0.6998, allocations: 3.984 kB / 0.8675 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.6998, allocations: 4 kB / 0.8675 GB, free: 15.02 MB / 0.5417 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.0004751/0.7003, allocations: 439.7 kB / 0.868 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7003, allocations: 8.031 kB / 0.868 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.7004, allocations: 15.81 kB / 0.868 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.7007, allocations: 207.7 kB / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.7007, allocations: 7.953 kB / 0.8682 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.7007, allocations: 0 / 0.8682 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001652/0.7009, allocations: 75.95 kB / 0.8683 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.7011, allocations: 127.3 kB / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7011, allocations: 0 / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.7012, allocations: 4 kB / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7012, allocations: 0 / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.7016, allocations: 373.6 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.7018, allocations: 113.1 kB / 0.8688 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.7019, allocations: 85.75 kB / 0.8689 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.702, allocations: 0 / 0.8689 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.7022, allocations: 178.7 kB / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.7022, allocations: 0 / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005607/0.7028, allocations: 271 kB / 0.8694 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.7029, allocations: 106.8 kB / 0.8695 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.703, allocations: 175.2 kB / 0.8696 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7031, allocations: 25.7 kB / 0.8696 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.7031, allocations: 112.1 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.7032, allocations: 35.61 kB / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7032, allocations: 0 / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7033, allocations: 322.8 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.7034, allocations: 67.97 kB / 0.8702 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.7035, allocations: 81.67 kB / 0.8702 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.7037, allocations: 76.52 kB / 0.8703 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7037, allocations: 3.953 kB / 0.8703 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004588/0.7041, allocations: 277.3 kB / 0.8706 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.7042, allocations: 38.78 kB / 0.8706 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7042, allocations: 4 kB / 0.8706 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7042, allocations: 0 / 0.8706 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.7043, allocations: 8 kB / 0.8706 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7043, allocations: 0 / 0.8706 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.7044, allocations: 4 kB / 0.8706 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.7044, allocations: 10.34 kB / 0.8706 GB, free: 11.57 MB / 0.5417 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 () * 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.0001151/0.7045, allocations: 142.7 kB / 0.8708 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004566/0.705, allocations: 294.9 kB / 0.8711 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.705, allocations: 19.81 kB / 0.8711 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.7052, allocations: 67.64 kB / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7052, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7052, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7052, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.7054, allocations: 198 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7054, allocations: 4.062 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.7055, allocations: 11.94 kB / 0.8713 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7055, allocations: 8.016 kB / 0.8714 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.7055, allocations: 4 kB / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.7055, allocations: 7.938 kB / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7055, allocations: 0 / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.7061, allocations: 336.9 kB / 0.8717 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.7062, allocations: 108.9 kB / 0.8718 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.7062, allocations: 8 kB / 0.8718 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.7063, allocations: 7.984 kB / 0.8718 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.7064, allocations: 4 kB / 0.8718 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.7064, allocations: 12 kB / 0.8718 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001108/0.7065, allocations: 148.3 kB / 0.872 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7065, allocations: 0 / 0.872 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002515/0.7068, allocations: 40 kB / 0.872 GB, free: 10.07 MB / 0.5417 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) * 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.0007322/0.7075, allocations: 0.9076 MB / 0.8729 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.7078, allocations: 215.3 kB / 0.8731 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7078, allocations: 0 / 0.8731 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.7079, allocations: 139.4 kB / 0.8732 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.7081, allocations: 10.08 kB / 0.8732 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.7087, allocations: 300.7 kB / 0.8735 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.7091, allocations: 0.7197 MB / 0.8742 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.7091, allocations: 0 / 0.8742 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.7092, allocations: 47.36 kB / 0.8743 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.7092, allocations: 0 / 0.8743 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.7309, allocations: 2.446 MB / 0.8767 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7312, allocations: 187.6 kB / 0.8768 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.564, allocations: 4.688 kB / 0.8768 GB, free: 5.02 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)